Image
/ Contrast Modification
Performs image contrast correction. The correction is performed according to the following formula:
si =kontrast(gi-ave) + ave
where si is the i-th gray value of the corrected image, gi is the i-th gray value of the original image, ave is the arithmetic mean of all gray values in the image.
The contrast value can be changed between -200 and 200 using the scroll bar located at the bottom of the window.
Preview
Example
|

|
|
Original image |
|
|
|

|
Image with contrast correction (contrast = 50) |
|
|