dfstudios.co.uk
Image Processing Algorithms Part 5: Contrast Adjustment – Dreamland Fantasy Studios
This article was originally published in issue 56 of The Crypt Mag Last time we looked at adjusting the brightness of an image. This time we are going to look at adjusting the contrast of an image which is a little bit more complex. The first step is to calculate a contrast correction factor which is given by the following formula: In order for the algorithm to function correctly the value for the contrast correction factor (F) needs to be stored as a floating point number and not as an integer. The value C in the formula denotes the desired level of contrast. The next step is to perform the actual contrast adjustment … Continue reading Image Processing Algorithms Part 5: Contrast Adjustment →