dfstudios.co.uk
Image Processing Algorithms Part 4: Brightness Adjustment – Dreamland Fantasy Studios
This article was originally published in issue 55 of The Crypt Mag Adjusting the brightness of an image is one of the easiest image processing operations that can be done. All that is involved is adding the desired change in brightness to each of the red, green and blue colour components. In pseudo-code it would go something like this: The value of brightness will usually be in the range of -255 to +255 for a 24 bit palette. Negative values will darken the image and, conversely, positive values will brighten the image. The procedure Truncate() was previously mentioned in part 2 of this series and just ensures that the new … Continue reading Image Processing Algorithms Part 4: Brightness Adjustment →