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 Ansichten (letzte 30 Tage)
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?

Antworten (1)

Image Analyst
Image Analyst am 3 Mai 2014
Bearbeitet: Image Analyst am 3 Mai 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 Kommentare
Sheema Khattak
Sheema Khattak am 5 Mai 2014
You mean to say that I only need a labeling matrix and the rest task is of svm how to classify objects in image while bwlabel() is something different only assigning unique number to an object in the image so I infer that no need to use bwlabel()for svm,it works without using bwlalbel().

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by