Image:Set Grayscale Display Range
Set the pixel value range for showing the image.
Minimum Origin Version Required: 2022b
1. cvgraymax min:=50 max:=200;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input Image | img |
Input/Output ImageLayer |
|
Specify the Image layer to convert. Only gray scale image is allowed. |
Min | min |
Input double |
|
Specify the minimum |
Max | max |
Input double |
|
Specify the maximum |
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.
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.