calculate the number of pixels using a histogram specifically for 3 colors

From: coold (nrodricks_at_gmail.com)
Date: 02/18/05


Date: 18 Feb 2005 11:38:00 -0800

Hi,
I am trying to calculate the number of pixels using a histogram
specifically for 3 colors(white,black and green) in a image (256
colors). I have modified the color palette for the image so that the
background is white and the dark colors are black and the light green
remains the same.
I am unable to interpret the results as indicated by the histogram. I
have uploaded the pictures.
http://pg.photos.yahoo.com/ph/coold_2006/album?.dir=/b4b9&.src=ph

Would appreciate any help in how to calculate the number of pixels of
white, black and green.
Thanks.
coold



Relevant Pages

  • Re: calculate the number of pixels using a histogram specifically for 3 colors
    ... > I am trying to calculate the number of pixels using a histogram ... > I am unable to interpret the results as indicated by the histogram. ... > have uploaded the pictures. ...
    (sci.image.processing)
  • Re: Touching characters Vs Hand struck words: discrimination.
    ... locations that are white black edges and have a black white edge not ... more than s pixels away, where s ist the accepted stroke thickness. ... down directly to touching components will result in vertical edges ... I couldn't follow the histogram approach. ...
    (sci.image.processing)
  • Re: Flat histogram vs tall
    ... The software that creates the histogram either ... > doesn't change scale, ever, or it has a limit to its scaling range. ... > they used a fixed scaling that accomodated any number of pixels at any ... with slider adjustment set to reveal uppermost ...
    (rec.photo.digital.slr-systems)
  • Re: image without correlation
    ... For exmple, if I take the 'lena' image, is there a ... generate samples with the same approximate distribution or perform a random permutation of the original sequence of pixels. ... For the former you simply divide up the range of numbers from 0 to N in sections with lengths depending on bincounts of the histogram. ...
    (sci.image.processing)
  • Re: how to plot a image histogram to
    ... My problem is how to convert the gray scale image into image histogram ... so that i can analyze the intensity of the image pixels.The histogram ... simply divide the array it returns by the number of pixels in your ...
    (comp.soft-sys.matlab)

Quantcast