Is there any way to extract objects after semantic segmentation?

6 vues (au cours des 30 derniers jours)
Mona Al-Kharraz
Mona Al-Kharraz le 19 Avr 2020
Commenté : Mona Al-Kharraz le 19 Avr 2020
this page: https://www.mathworks.com/help/vision/examples/semantic-segmentation-using-deep-learning.html showing example of semantic segmentation. Is there any way to extract (seprate) each object in a different image file?

Réponse acceptée

Image Analyst
Image Analyst le 19 Avr 2020
Use ismember() to to extract the class you want from the labeled image, then process as normal:
thisClass = ismember(labeledImage, classNumberYouWant); % Get a binary image of this class ONLY
props = regionprops(thisClass, 'all'); % or whatever...

Plus de réponses (0)

Catégories

En savoir plus sur Recognition, Object Detection, and Semantic Segmentation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by