How to characterise and measure these black regions in a frame?

1 view (last 30 days)
Dario Cortese
Dario Cortese on 17 Sep 2019
I would like to identify and characterise the two elongated black regions and their boundaries in this frame. I have tried with edge but I lose the boundaries.
The image has already been processed (background removal and im2bw).
What's the best way to go about this?
im2.PNG

Answers (1)

Hari Krishna Ravuri
Hari Krishna Ravuri on 3 Dec 2019
I understand that, you are trying to identify the two elongated black regions and their boundaries. You may consider using Image Segmenter App for this. Please refer https://in.mathworks.com/help/images/image-segmentation-using-the-image-segmenter-app.html for more information regarding the Image Segmenter App.
I selected roi and used Active Contours to get the elongated black regions. You may get the desired regions by setting the number of iterations for Active Contours.Please find the attachment

Community Treasure Hunt

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

Start Hunting!