Page 1 of 1

Auto Correct Brightness

Posted: Wed Sep 13, 2006 11:10 am
by kevin7654
Does anyone know of any scripts that apply an auto correct feature that corrects the brightness, contrast, etc? I'm thinking of something that is common in most of the consumer level photo organization tools such as google's picasso or photoshop album.

Thanks,
Kevin

Posted: Wed Sep 13, 2006 11:06 pm
by Todd_Z
You could iterate over the pixels in the image and add a fixed value to the red, green, and blue values, then set the new value in the image to change the brightness

Posted: Thu Sep 14, 2006 7:14 pm
by feyd
Correctly increasing the brightness of an image actually gives slightly different leveling to the green than the blue or red colors due to how sensitive our eyes are to the green spectrum.

If building such a thing myself I would likely implement some sort of scaling function to expand out the histogram.

Posted: Mon Sep 18, 2006 12:47 am
by kevin7654
thanks for the responses. So I take it there is no sort of script that is available to do this function?