Identify non accident properties and segment regions of concavity

Hello
I really need some help i need to Identify non accident properties and segment regions of concavity in images for a project and nothing is working i can attach the images that need to be done like the house and car for example the car body, roof anf wheels should be separated and then the house the smae the trianlge roof separated form the square part, I just dont know if its code i need to use or something in the toolbox on matlab? its just so confusing and ive no experiance using it at all if anyone can help or give me some code id be really appreciative. Theres also another image of a triangle, square, circle and rectangle all overlapping that need to be separated also.
Thank you
Emma

Answers (1)

You can identify concave regions by using bwconvhull and then subtracting, or doing an XOR, with the original binary image.

Products

Release

R2025b

Asked:

on 12 Mar 2026

Answered:

on 13 Mar 2026

Community Treasure Hunt

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

Start Hunting!