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
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 188.8.131.52 and read imgproc. Image Processing topic.