From: Seow Yan Tan on
A very simple task here..i have a project with this..
Can I know how to plot a histogram with 8 bit grayscale image, and
also the histogram without background of the grayscale image. Followed
by 7 bit, 6 bit, 5 bit...
From: us on
Seow Yan Tan <seowyan88(a)gmail.com> wrote in message <2a6a8ea8-2c11-4eb5-b347-9fcd238c400c(a)u20g2000pru.googlegroups.com>...
> A very simple task here..i have a project with this..
> Can I know how to plot a histogram with 8 bit grayscale image, and
> also the histogram without background of the grayscale image. Followed
> by 7 bit, 6 bit, 5 bit...

a hint:
- if(f) you own the img proc tbx

help imhist;

us
From: ImageAnalyst on
Seow Yan Tan:
What is "histogram without background"?
Background of *what* - the histogram plot (like maybe you want a
trasparent background to the plot to see something on the figure
underneath) or the histogram of the *image without background* (in
other words, you identify somehow the "background" of your image and
you just want the histogram of the "foreground" pixels)? Then explain
the 7 bit, 6 bit, 5 bit stuff in more detail.
From: Tan on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <f0f13249-3b6d-4e50-875c-0c6c93e357c8(a)x21g2000yqa.googlegroups.com>...
> Seow Yan Tan:
> What is "histogram without background"?
> Background of *what* - the histogram plot (like maybe you want a
> trasparent background to the plot to see something on the figure
> underneath) or the histogram of the *image without background* (in
> other words, you identify somehow the "background" of your image and
> you just want the histogram of the "foreground" pixels)? Then explain
> the 7 bit, 6 bit, 5 bit stuff in more detail.

sorry for the unclear explanation
1. I need to plot a histogram of a 16 bit grayscale image
2. plot it without the image background, but only the foreground pixels.
3. with the same image, plot its histogram in 8 bit, then 7, 6, 5...1 bit.
From: us on
"Tan " <seowyan88(a)gmail.com> wrote in message <hvmj4p$d43$1(a)fred.mathworks.com>...
> ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <f0f13249-3b6d-4e50-875c-0c6c93e357c8(a)x21g2000yqa.googlegroups.com>...
> > Seow Yan Tan:
> > What is "histogram without background"?
> > Background of *what* - the histogram plot (like maybe you want a
> > trasparent background to the plot to see something on the figure
> > underneath) or the histogram of the *image without background* (in
> > other words, you identify somehow the "background" of your image and
> > you just want the histogram of the "foreground" pixels)? Then explain
> > the 7 bit, 6 bit, 5 bit stuff in more detail.
>
> sorry for the unclear explanation
> 1. I need to plot a histogram of a 16 bit grayscale image
> 2. plot it without the image background, but only the foreground pixels.
> 3. with the same image, plot its histogram in 8 bit, then 7, 6, 5...1 bit.

not better at all...
same old homework-OP - simply embedded in other words...
it's about time you show some real ML code(!)...

us