Convert contours to false colour map

asked 2019-06-05 23:33:35 -0600

MikeB gravatar image

Hi everyone, first time dabbler in Opencv - enjoying it immensely so far!

I hope someone can point me in the right direction, I'm trying to work out which function would be appropriate to convert the steepness of contour lines (how CLOSE they are together) into a color/heat map.

See the following image. Idea is when the rings are close to each other they get a warmer color, cooler if they are further apart.

Any suggestions?

Cheers, -Mike

image description

edit retag flag offensive close merge delete