Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use the so-called gamma correction. The formula is:

result = 255 * (image/255)^k

With different k values you can have lighter/darker grays (while not affecting whites and blacks).

image description

Use the so-called gamma correction. The formula is:

result = 255 * (image/255)^k

With different kexponent values you can have lighter/darker grays (while lighter (k<1) or darker (k>1) grays, while not affecting whites and blacks).blacks.

image description

Use the so-called gamma correction. The formula is:

result = 255 * (image/255)^k

With different k exponent values you can have lighter (k<1) (k<1) or darker (k>1) (k>1) grays, while not affecting whites and blacks.

image description