Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic Adjustment of brightness, contrast and sharpness of a bitmap image

As the title itself suggest everything ... I have to first automatically adjust contrast , brightness and sharpness then if required I have to provide manual adjustment seekbars.

Is there any library available for automatic adjustment?

like image 854
Pie Avatar asked Oct 22 '22 03:10

Pie


2 Answers

OpenCV can perform such operations.

Here is a tutorial for contrast and brightness.

OpenCV comes with android ports, and a quite active community .

A good starting point for you would be cvEqualizeHist, that will adjust brightness and contrast automatically for one channel images (BW).

You can find quite simple methods to find automatic adjustments, but I think that it will still require a bit of work from your side though :).

like image 84
jlengrand Avatar answered Nov 09 '22 04:11

jlengrand


You can use ImageJ like a library

like image 23
Napsteur Avatar answered Nov 09 '22 03:11

Napsteur