Automatically adjust the brightness, contrast and sharpness of the bitmap

As the name itself offers everything ... I must first automatically adjust the contrast, brightness and sharpness, and then, if necessary, I must provide manual search maps.

Is any library available for automatic configuration ?

+4
source share
2 answers

OpenCV can perform such operations.

Here is a tutorial for contrast and brightness.

OpenCV comes with android ports and a fairly active community.

A good starting point for you would be cvEqualizeHist , which automatically adjusts brightness and contrast for single-channel (BW) images.

You can find fairly simple methods for finding automatic settings, but I think it will still require a bit of work on your part, though :).

+2
source

You can use ImageJ as a library

+1
source

Source: https://habr.com/ru/post/1445033/


All Articles