How do Wavelength, Intensity, and HSV/RGB Interact in Image Processing?

AI Thread Summary
Wavelength, intensity, and the HSV/RGB color models interact in image processing to define colors on screens. While HSV and RGB formats are related, they are not linear transforms of each other, as evidenced by the same RGB values for different hue angles. The discussion highlights that two parameters, wavelength and intensity, are insufficient for color specification, necessitating a third parameter to represent colors like white or magenta. The wave theory and color theory models serve different purposes, with wave theory encompassing all wavelengths and color theory limited to human perception. Understanding these distinctions is crucial for effective image processing.
sudu.ghonge
Messages
36
Reaction score
1
I was working on an image processing project a while ago and was specifically working with raster images in the Hue-Saturation-Value(HSV) image format. Each is determined by mathematical values of these (HSV) parameters. I also worked with other bases such as the Red Blue Green (RGB) format. Now these HSV, RGB and many other image specifying formats are just linear transforms of each other (right?).

My question is this: to specify a color of a particular region on a screen, just two values should suffice: Wavelength( or frequency) and intensity. Where does the 3rd independent parameter come in?
 
Last edited:
Physics news on Phys.org
Colors that we perceive can be a mix of several "single wavelength" colors.
 
Borek said:
Colors that we perceive can be a mix of several "single wavelength" colors.

And adding just one more parameter covers that up?
 
Apparently it does. Our "hardware" recognizes the color using RGB system (see http://en.wikipedia.org/wiki/Cone_cell), and the system we use for image displaying is designed to fool our eyes.

There is probably more to that, but basically if the evolution selected RGB system for eyes, it must be a reasonably effective approach.
 
  • Like
Likes 1 person
This website may help:
The Hue/Saturation/Value model was created by A. R. Smith in 1978. It is based on such intuitive color characteristics as tint, shade and tone (or family, purety and intensity). The coordinate system is cylindrical, and the colors are defined inside a hexcone.

The hue value H runs from 0 to 360º.

The saturation S is the degree of strength or purity and is from 0 to 1. Purity is how much white is added to the color, so S=1 makes the purest color (no white).

Brightness V also ranges from 0 to 1, where 0 is the black.

http://www.cs.rit.edu/~ncs/color/t_convert.html
 
  • Like
Likes 1 person
So wave theory and color theory are two completely different models. Its like looking at say, a computer from two perspectives: As an electronic device and a turing machine.
 
sudu.ghonge said:
So wave theory and color theory are two completely different models. Its like looking at say, a computer from two perspectives: As an electronic device and a turing machine.

I am not sure if I like your analogy, but I definitely agree with the first phrase :smile:
 
Is there a question contained within your post number six?
 
I think he just summarized what was posted.
 
  • #10
sudu.ghonge said:
Now these HSV, RGB and many other image specifying formats are just linear transforms of each other (right?).

No. How could H=0° and H=360° give the same RGB values if it were linear?

sudu.ghonge said:
My question is this: to specify a color of a particular region on a screen, just two values should suffice: Wavelength( or frequency) and intensity. Where does the 3rd independent parameter come in?

How can you represent white with wavelength and intensity? Or even magenta?
 
  • #11
someGorilla said:
No. How could H=0° and H=360° give the same RGB values if it were linear?
Okay, so not linear then. More like Polar? Involving sine and cosine relationships?

someGorilla said:
How can you represent white with wavelength and intensity? Or even magenta?

Yeah, Borek pointed that out. I guess looking from the point of view of the wave theory, a function describing the relationship between Intensity and frequency can describe a pixel's color. I guess the confusion can be erased by realzing that the wave model applies to all wavelengths- both visible aas well as those not visible to humans. The color theory model is limited to the perception power of the rod and cone cells.
 
Back
Top