ImLab Scilab Function
Last update :
imhist3D - color image histogram computing (L*a*b*, xyz, RGB...)
Calling Sequence
-
[hist]=imhist3D(image[,step[,mask[,min1,inter_nb1,min2,inter_nb2,max3,inter_nb3]]])
Parameters
-
image
: 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
-
min1
: first value of the fist class of the histogram on first plan
-
inter_nb1
: number of classes to compute on first plan
-
min2
: first value of the fist class of the histogram on second plan
-
inter_nb2
: number of classes to compute on second plan
-
min3
: first value of the fist class of the histogram on third plan
-
inter_nb3
: number of classes to compute on third plan
-
hist
: image histogram
Description
This function computes the histogram of a color image (L*a*b*, xyz or RVB). If min (1,2,3) and interval number (1,2,3) values are not user defined, histogram is computed over all the image values.