in reply to Re: the difference between two colors, and how to describe a color
in thread the difference between two colors, and how to describe a color

For colour images the first step would be to convert to grayscale. The liminance formula used in the GIMP is pretty similar to the OPs formula:

Y = 0.3R + 0.59G + 0.11B;
see Re: convert image to greyscale (color to black and white) and particularly the link showing the effects of various grayscaling approaches.

cheers

tachyon

  • Comment on Re^2: the difference between two colors, and how to describe a color
  • Download Code

Replies are listed 'Best First'.
Re^3: the difference between two colors, and how to describe a color
by pg (Canon) on Oct 28, 2004 at 15:02 UTC
    "For colour images the first step would be to convert to grayscale"

    That's what was in my mind over night. When I used that formular, I kept thinking that I am calculating luminous.

    My major in university is related to this, and I kept thinking what's the difference now and then. One thing I remembered is that, the equipment we used only take black and white pictures, so I started to think that first thing today is to convert picture to black and white.

    Now your post is a great remind to me, and confirmed my thought. Thank you!