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

Antworten (1)

Lorenz
Lorenz am 15 Dez. 2014

0 Stimmen

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

2 Kommentare

Stephan
Stephan am 15 Dez. 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 am 18 Dez. 2014
Great, thanks! I'll have a look at it.

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 24 Mär. 2014

Kommentiert:

am 18 Dez. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by