title: Is it possible in OpenCV to plot local curvature as a heat-map representing an object's "pointiness"?
body: <p>Given a thresholded image of blobs that you can detect and draw contours around, is it possible when drawing the contour to represent the local curvature as a heat-map?  </p>
  
  <p>i.e. is it (1) possible to determine local curvature on a open cv contour (2) map this curvature to a heat-map color space (3) draw the contour as a heatmap.</p>
  
  <p>My goal is to measure the "pointiness" of an object so that I can draw a vector from the pointy side to the opposite non-pointy side.  For my objects, I happen to know that the pointy side is the top.  </p>
  
  <p>If other techniques would be more effective at representing "pointiness" than curvature feel free to suggest.</p>
  
  <p><img src="https://i.stack.imgur.com/glLqt.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/Zfk2W.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/96zbZ.jpg" alt="enter image description here"></p>