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

답변 (1개)

Lorenz
Lorenz 2014년 12월 15일

0 개 추천

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

댓글 수: 2

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

댓글을 달려면 로그인하십시오.

카테고리

질문:

2014년 3월 24일

댓글:

2014년 12월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by