Before the rush

Before the rush
by evan-pak

Submit your Photo
Hall of Fame

Please participate in Meta
and help us grow.

Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Courtesy of my optometrist, I now have images of my retinas. However, the images are a bit dark. I have RGB values for each pixel. In this setting, is brightening the image equivalent to increasing each of the RGB values slightly (toward white)?

share|improve this question
up vote 2 down vote accepted

That is it. Just apply a multiplication factor and not an offset to preserve colors.

If you are not concerned with how bright the image has to be then, that is all there is.

If you are, then you need to know if your image data is linear, logarithmic or follows a gamma curve. That depends on the image format but most scientific data is stored linearly.

share|improve this answer
It's in JPG format, but I've read it into a statistical computing program called R so I have the individual pixel RGB values. Does that tell you whether the image data is linear, logarithmic, or follows a gamma curve? – Max Oct 5 '12 at 20:47
If the JPEG data is extracted from the JPEG and kept with the same values (8-bit per pixel-component), then it will normally follow a gamma curve. You should be able to confirm this by using a color picker. If the values were transformed, it could be anything! ...but I would suspect most tools would want to transform to linear but that requires higher precision output not to lose accuracy. – Itai Oct 5 '12 at 21:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.