How to find Concavity or Convexity part in an Image?

If this was my input Image, How to find that red dot position? Is there any procedures or algorithms??

 Accepted Answer

One easy way would be to dilate the image, then erode the image. Take the result, and subtract your original image from it.

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!