How can I segment all buildings in the image?

1 次查看(过去 30 天)
Hi, I need to segment all buildings within the following image. But I can't seem to segment just the building. I need guidance for the algorithm and which image segmentation technique should I use? Thank you

回答(2 个)

Mandar
Mandar 2023-2-3
As a potential workaround, you may think of applying segmentation technique such as Watershed segmentation to get the boundaries around different object in the image. The binary segmentation mask can be useful to get the distinct features such as Area, Major and Minor axis lengths, eccentricity etc. using “regionprops” function. Then, object of interest can be obtained by applying set of rules based on learned features.
Refer the following MATLAB documentation link to know more about watershed segmentation.

Image Analyst
Image Analyst 2023-2-3

Community Treasure Hunt

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

Start Hunting!

Translated by