This program takes in three input images, representing Hue, Saturation, and Value, then outputs Red,
Green, and Blue files respectively. It works by creating an HSV pixel from pixels in the Hue, Saturation,
and Value files, converting it to RGB format, then writing the data to the Red, Green, and Blue files.
HSV Stores colors in terms of hue, saturation, and value. The hue determines the color,
which is an angle around the color wheel. The basic colors are: 0 degrees = RED,
60 degrees = YELLOW, 120 degrees = GREEN, 180 degrees = CYAN, 240 degrees = BLUE and
300 degrees = PURPLE.
The saturation is how much grey is in the color (intensity of the color). A saturation value of zero means it's perfect,
while a saturation value of 1 would cause any color to become pure grey. As an example, the color RGB(255,0,0)
is pure so the saturation would be zero. The value is how bright the color is. A value of 0 is always black,
and 100 is the color (if not saturated).
In brief,
HUE = COLOR (degrees around the color wheel)
SATURATION = INTENSITY (0-1, 0 being no color/grey)
VALUE = BRIGHTNESS (0 being black)
For more information, see
http://en.wikipedia.org/wiki/Color_spaces