Re:Brightness/Contrast?
I'm no Delphi Guru, but I can tell you as a graphic designer what I believe
is going on with Brightness/Contrast: Brightness IS indeed a simultaneous
adjustment of each RGB value in equal increments (if they're unequal,
you're adjusting color HUE).
Contrast though, is the "movement" of middle values toward extremes, ie., a
51% gray will become darker and a 49% gray will become lighter if you set
your threshold in the middle.
HSB (Hue, Saturation, Brightness) Involves adjustment of an image in
different ways...when Hue is adjusted, a single channel (the Red, for
example, in an RGB image) is manipulated while the relative light/dark
values are maintained (a red apple can become green, but greyscale images
of either would look similar). Adjustment to SATURATION involves the
addition of a neutral value grey to the color. Brightness involves the
addition of white, or, like I mentioned earlier, it is the linear, equal
adjustment of all channels.
As to implementing the theory in Dephi...There's a site you should know of;
the gentleman who runs the show there really seems to know his stuff: EGC
Computer lab, at
http://www.infomaster.net/external/efg/index.htm
Hope this helps.
Kevn