Take the 2-minute tour ×

I want to enhance slightly a contrast of a bitmap, usually I do this by loading the image in Photoshop and using Auto-Contrast or Auto-Tone. The task is to add some contrast (maybe enhance colors) to the light pictures.

How do I do something close to this using AForge? Or maybe there is some other 3rd party library which could be better used.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You probably want to use one of the AForge.NET colour correction filters. For contrast adjustment, the usual technique would be a histogram equalization or normalization.

Examples are in the AForge.NET documentation for histogram equalization and normalization.

share|improve this answer

If you are open to third party libraries, try OpenCV. Here is an example of adjusting contrast.

share|improve this answer

Your Answer


