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?
11 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 3 May 2014
Edited: Image Analyst
on 3 May 2014
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 Comments
Image Analyst
on 5 May 2014
See answer in your duplicate thread: http://www.mathworks.com/matlabcentral/answers/128126#comment_212011
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!