how do i get clusters from a pointcloud?

i have a point cloud from an object i measured with a 3d microscope.
i am dealing with 3 vectors: x,y containing coordinate points in regular intervals and z containing the z-value (if there is no "Point, resp. no surface" the value is "NaN")
i would like to store and count "clusters" in 2D. By cluster i mean fibres. See pictures from scatter plot below:
how can i handle this? is it easier to convert the data to an image file and use matlabs morphological tools? i would be glad to avoid doing this.. thanks in advance

Respuestas (1)

Lorenz
Lorenz el 15 de Dic. de 2014

0 votos

I have exactly the same problem. Did you find a solution? Thanks!

2 comentarios

Stephan
Stephan el 15 de Dic. de 2014
Yes, I did. The algorithm I used is called DBSCAN (Density-based spatial clustering of applications with noise). Have a look at the code:
For "eps" I used the diagonal raster-distance of 2 points (sqrt(raster_x^2+raster_y^2)). good luck
Lorenz
Lorenz el 18 de Dic. de 2014
Great, thanks! I'll have a look at it.

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 24 de Mzo. de 2014

Comentada:

el 18 de Dic. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by