Is there any way to extract objects after semantic segmentation?

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Recognition, 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