Re: Value in histogram

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Nick Lamb <njl98r@xxxxxxxxxxxxxxx> writes:

> On Thu, Feb 08, 2001 at 01:36:10PM +0100, Roel Schroeven wrote:
> > The value in the gimp histogram is calculated as the maximum of the red,
> > green and blue channels now. Wouldn't it be better to use the average of the
> > three color channels?
> 
> We discussed this when I was fixing the histogram for 1.2.x BRANCH (btw,
> did that fix go into 1.2.1, or did it just rot? Maybe I should look for
> myself) and I can't remember what the arguments were for leaving it as
> it is, but that's what we decided to do in 1.2 at least.

Well, max (r,g,b) is the correct formula for calculating the value of a 
color (assuming that value corresponds to the V in HSV). The average of the 
three channels is a somewhat useless number, but it might make sense to add 
intensity (mostly defined as 0.3 r + 0.59 g + 0.11 b) as an option.


Salut, Sven


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux