Is there a way of labeling multiple objects within an image or each object would be separated to get the results on their feature basis?
2 次查看(过去 30 天)
显示 更早的评论
should the labeling for svm done in a single image having multiple objects or the objects in the image should be seperated to be dealt individualy?
Is there a way of labeling multiple objects within an image or each object would be separated to get the results on their feature basis?
0 个评论
回答(1 个)
Image Analyst
2014-5-3
编辑:Image Analyst
2014-5-3
Doesn't multi-class SVM output a labeled image directly? Each class will have a label, for example all circles will have a label #1 and all pixels in squares will have a label #2. This is a classified image. Then you can use ismember() to extract out just the circles or squares and use bwlabel or bwconncomp to give each circle (or square) a unique number like 1,2,3,4,5,...N for the N circles (or squares) that are there in the image.
2 个评论
Image Analyst
2014-5-5
See answer in your duplicate thread: http://www.mathworks.com/matlabcentral/answers/128126#comment_212011
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!