PRTools Contents

PRTools User Guide

im_hist

IM_HIST

Histogramming of image dataset (datafile)

     H = IM_HIST(A,N)
     H = A*IM_HIST([],N)
     H = A*IM_HIST(N)
     H = IM_HIST(A,X)
     H = A*IM_HIST([],X)
     H = A*IM_HIST(X)

Input
 A Dataset or datafile
 N Number of bins, default 256
 X User defined histogram bins (centers)

Output
 H Dataset or datafile with histogram bin frequencies

Description

For every object in the dataset A the set of feature values (for images  pixels)is mapped into a histogram, specifying for each bin the number of  features having a value as specified for that bin. If H is converted to a  dataset it has a feature size equal to the number of bins times the  number of bands in the image. So color images return a histogram for  every band.

Use HISTM if the bin positions have to be determined automatically is a  'training' stage from some images.

See also

datasets, datafiles, mappings, hist, histm,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.