Hello! How to find positions of specular highligts and its size?
I do not need to remove these highlights, just mask it off from image for following processing.
The problem is that I can't detect specularities only by high HSV or RGB value (>255 for example) because of white artefacts on image (labels, subimages etc).
Please, see examples:
And this:
So, how to position and detect specularities?