user2957984
user2957984

Reputation: 255

Improving image contrast

I'm trying to implement ANPR system, still I'm having a problem with some images, where my morphological algorithm really fails. The problem is when things that are black, are not black at all(for example plate characters), or same situation occurs with white elements (probably it's depends on image lightning etc). I probably found solution to this, author called this Black Top Hat, but I have no idea if it's really that, because Top Hat and Black Hat operations probably won't give that output.

The effect that I want to achieve is under that link: https://i.sstatic.net/d2RVX.png

enter image description here

Upvotes: 0

Views: 660

Answers (1)

Andrey  Smorodov
Andrey Smorodov

Reputation: 10850

It looks very similar to result of applying CLAHE algorithm, it implemented in new versions of OpenCV. Take a look here: http://answers.opencv.org/question/12024/use-of-clahe/

Upvotes: 1

Related Questions