I have extracted all the size blobs form a dataset.

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 comentarios

What are the features you're measuring and going to pass to kmeans()?
sassi nizar
sassi nizar el 16 de Nov. de 2015
i have divided the image into blocks of 20*20, and i wanna calculate the size of the object in each block. After that, i pass the size and cell(blocks) to K means.
That will produce nonsense.

Iniciar sesión para comentar.

Respuestas (1)

KJVKU999
KJVKU999 el 16 de Nov. de 2015

0 votos

  1. Decide first your features
  2. Prepare features from your extracted blob/blob size data, and
  3. 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 comentario

KJVKU999
KJVKU999 el 16 de Nov. de 2015
If Area of the blob is your feature:
  • Calculate area of the blobs and prepare matrix/table. Follow above steps.

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 16 de Nov. de 2015

Comentada:

el 16 de Nov. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by