ImLab Scilab Function
Last update :
imhist - grey level image histogram computing (L*a*b*, xyz, RGB...)
Calling Sequence
-
[hist] = imhist(image_data[,step[,mask[,min,inter_nb]]])
Parameters
-
image data
: image pixel values
-
step
: step to use to compute the histogram. Default value is 1.
-
mask
: matrix returned by an ImLab function or user-defined matrix having the same size than image_data, allows to compute the output value only for the area which is selected. If mask is defined, the output value is computed only for values of image_data corresponding to non zero value in mask
-
min
: first value of the fist class of the histogram
-
inter_nb
: number of classes to compute
-
hist
: image histogram
Description
This function computes the histogram of a grey level image (M*N matrix). If min and interval number values are not user defined, histogram is computed over all the image values.