This is no easy task!

The simpler of these two request would be the brightness.

To make a color brighter would involve shifting the color value in RGB
space toward white (255,255,255). This shift in color values can not
be a fixed amout for all three components (RGB) but should be scaled
based on the original color and its distance in color space from
white.

I believe brightness will be the easier part because it involves only
comparing a single pixel color with white and adjusting.

Contrast is more complicated because it will involve shitfting some of
the colors toward white and others toward black.

So...

The image Toolkit just may be worth it cost!

Ig you write this yourself, please share what you find. The world of
images and color are both subjects that interest me.

Trying to help,

Ben


<a
href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner</a>
<a href="
http://volt.ni.com/niwc/common.jsp?page=products_certification_cld&node=10638";>
Certified LabVIEW Developer </a>
www.DSAutomation.com

Reply via email to