Contrast
Changing the contrast of an image.
Taking three pixels with values of 114502, 320644 and 572678 and multiplying the value by 2 will increase contrast as well as brightness.
|
114502 |
|
320664 |
|
572678 |
|
x 2 |
|
x 2 |
|
x 2 |
228A04 |
|
640C88 |
|
AE4CF0 |
|
|
Put your mouse pointer
over the word "Contrast"
below to multiply the value
of the pixels on the left by 2:
|
Unlike the simplified multiplication shown in this example,
computer image editing software will keep overall brightness constant
while changinging contrast.
The math is more complex, but the principles are the same.
|
|
|
|
|