From: shilpa khinvasara on
sir,
can u pls tell me how to count pixels in each bin and plot its histogrsm
From: Loren Shure on

"shilpa khinvasara" <ship(a)gamil.com> wrote in message
news:i26e45$n2u$1(a)fred.mathworks.com...
> sir,
> can u pls tell me how to count pixels in each bin and plot its histogrsm

perhaps imhist will do what you need

--
Loren
http://blogs.mathworks.com/loren/
http://matlabwiki.mathworks.com/MATLAB_FAQ

From: Walter Roberson on
shilpa khinvasara wrote:

> can u pls tell me how to count pixels in each bin and plot its histogrsm

The following will accomplish both aims simultaneously:

hist(L(:),max(L(:))

You could easily have found hist() by searching the matlab documentation
for information about histograms. The only vaguely tricky part of the
above line is the specification of the number of bins to use.
 | 
Pages: 1
Prev: I guess this is goodbye
Next: help solve