I have extracted all the size blobs form a dataset.
Show older comments
using the K-means i am trying to classify theses blobs into 2 classes(vehicles,pedestrians). how i could using the area blobs to do this.
3 Comments
Image Analyst
on 16 Nov 2015
What are the features you're measuring and going to pass to kmeans()?
sassi nizar
on 16 Nov 2015
Image Analyst
on 16 Nov 2015
That will produce nonsense.
Answers (1)
KJVKU999
on 16 Nov 2015
0 votes
- Decide first your features
- Prepare features from your extracted blob/blob size data, and
- You need to make table/matrix of the features including the class name/label.
- Now pass your feature matrix/table to one of the classification methods. The procedure will generate one structure file from which you can predict un-labled/unknown data.
1 Comment
KJVKU999
on 16 Nov 2015
If Area of the blob is your feature:
- Calculate area of the blobs and prepare matrix/table. Follow above steps.
Categories
Find more on k-Means and k-Medoids Clustering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!