Is there any way to extract objects after semantic segmentation?

1 回表示 (過去 30 日間)
Mona Al-Kharraz
Mona Al-Kharraz 2020 年 4 月 19 日
コメント済み: Mona Al-Kharraz 2020 年 4 月 19 日
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?

採用された回答

Image Analyst
Image Analyst 2020 年 4 月 19 日
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...

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRecognition, Object Detection, and Semantic Segmentation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by