2.15.5 cvgraymax


Contents

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

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 .

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