How to detect bump mapping with OpenCV

435 views Asked by At

I have an image with bump mapping, like the image here (the rightmost one):

https://en.wikipedia.org/wiki/Bump_mapping#/media/File:Bump-map-demo-full.png

I wonder if I can detect the bump mapping area with OpenCV. The image is a normal RGB image with no depth information. Any idea how to do the detection? Thank you very much!

1

There are 1 answers

1
dvhamme On

Depending on the way the bump mapping is implemented, you may be able to detect it by comparing the local variation of luminance to the local variation of chrominance. If The luminance varies but the chrominance is stable for large areas, this could be indicative of bump mapping. Or it could be indicative of a high-polygon count irregular surface mesh...