2.15.5 cvgraymax


Menu Information

Image:Set Grayscale Display Range

Brief Information

Set the pixel value range for showing the image.

Additional Information

Minimum Origin Version Required: 2022b

Command Line Usage

1. cvgraymax min:=50 max:=200;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Image img

Input/Output

ImageLayer

<active>
Specify the Image layer to convert. Only gray scale image is allowed.
Min min

Input

double

0
Specify the minimum
Max max

Input

double

0
Specify the maximum

Description

This X-Function is added for GeoTIF image processing. It is used to set the pixel value range for showing the image. See more on this document page.

Algorithm

The computation uses function from OpenCV Main API. Please refer to the OpenCV Main API Help file, Version 2.4.11.0 and read imgproc. Image Processing topic.


Related X-Functions

cvhistogram