Gamma Correction
Gamma correction is an optional brightness adjustment applied to images.
Values less than 1 darken the image; values greater than 1 ligthen the image.
A value of exactly 1 leaves the brightness unchanged. For example, here is
an image rendered in four LEGO gray tones (black, white, and two levels of
gray):
0.2
| | 0.4
| | 0.6
|
| 0.8
| | 1.0
| | 1.2
|
| 1.5
| | 2.0
| | 3.0
|
Gamma level adjustments can be applied to full-color images as well. For
example, here is an image rendered in five classic LEGO colors (black, white,
red, blue, and yellow):
Note: gamma correction isnt quite the same as a brightness adjustor. With
gamma correction, pure black stays black and pure white stays white. The
curve in between black and white changes shape based on the gamma value.
|