Image: Grayscale Histogram
Generate pixel intensity distribution in a new worksheet
Minimum Origin Version Required: 2022b
1. cvhistogram skip:="0 255";
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 ImageLayer |
|
Specify the Image layer to convert. Only gray scale image is allowed. |
Output Sheet | ow |
Output Worksheet |
|
Specify the output worksheet. |
Values to Ignore | skip |
Input string |
|
Specify the pixel value(s) to ignore. Values are separated by space. Missing value will be ignore by default. |
This X-Function is added for GeoTIF image processing. It is used to generate pixel intensity distribution of a gray-scale image to a new worksheet. You can enter a series of pixel values separated in space to be ignored during the frequency count. Note that missing values will be ignored by default.
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.