Re: [Gambas-user] Image class and histogram

2011-03-13 Thread Matti
It's a histogram of pure brightness values, used in photography and in all those image processing programs. See http://manual.gimp.org/en/gimp-histogram-dialog.html: "For RGB images, it is convenient to define a Value “pseudochannel ”. This is not a real color channel: it does not reflect any inf

Re: [Gambas-user] Image class and histogram

2011-03-13 Thread Benoît Minisini
> Great! > Works fine. For the channels R, G, B I get exactly the same histograms as > GIMP shows. > For the combined grayscale histogram I get a different curve, but this > depends on how the brightness value is computed. Have to read more. > You get an histogram only for R, G, B and Alpha. What

Re: [Gambas-user] Image class and histogram

2011-03-13 Thread Matti
Great! Works fine. For the channels R, G, B I get exactly the same histograms as GIMP shows. For the combined grayscale histogram I get a different curve, but this depends on how the brightness value is computed. Have to read more. Am 13.03.2011 03:49, schrieb Benoît Minisini: > > I implemented

Re: [Gambas-user] Image class and histogram

2011-03-12 Thread Benoît Minisini
> For Image.Equalize and Image.Normalize, the color values (histogram) of the > image must be internally read. > > Would it be possible to access those data? I would like to draw a > histogram. Right now, I can't find any method of image class that would > let me read the color values. > > Regard

[Gambas-user] Image class and histogram

2011-03-06 Thread Matti
For Image.Equalize and Image.Normalize, the color values (histogram) of the image must be internally read. Would it be possible to access those data? I would like to draw a histogram. Right now, I can't find any method of image class that would let me read the color values. Regards Matti ---