Distance-based clustering for 10-20 million 3D points
Mostrar comentarios más antiguos
Hi.
I am looking for an efficient way to cluster 10-20 million unorganized 3D points based on the distance (i.e. setting a distance threshold so every point at less than that distance to its neighbours is clustered with them).
Any implementation of DBscan (or similar) able to deal with the kind/amount of data I have described would do the job.
Thanks.
10 comentarios
Carlos Cabo
el 6 de Sept. de 2019
Carlos Cabo
el 24 de Mayo de 2020
Elif Özer
el 24 de Mayo de 2020
:(( What did you do? Can you explain ? If you wanna share my email is ozer15@itu.edu.tr .
Carlos Cabo
el 25 de Mayo de 2020
Editada: Carlos Cabo
el 25 de Mayo de 2020
Image Analyst
el 25 de Mayo de 2020
There is a dbscan in MATLAB now. It's in the Statistics and Machine Learning Toolbox.
>> which dbscan
C:\Program Files\MATLAB\R2020a\toolbox\stats\stats\dbscan.m
Elif Özer
el 25 de Mayo de 2020
clc; clear; clear all;
pntCld = pcread('ism_train_cat.pcd');
number=pntCld.Count
points=pntCld.Location;
X=points;
Y=points;
D = pdist2(X,Y);
radius=2;
minpts=10;
idx = dbscan(D,radius,minpts,'Distance','precomputed')
subplot(1,2,1)
pcshow(pntCld)
subplot(1,2,2)
PlotClusterinResult(points, idx);
title(['DBSCAN Clustering (\epsilon = ' num2str(radius) ', MinPts = ' num2str(minpts) ')']);

My aim is cluster point clouds data according to dense and sparse area and obtain the points from cluster. dbscan gives me 2D solution. Right now ı cant understand the dense area in 3D. How can ı solve this problem. Is there anyy way to convert 3D figure?
Carlos Cabo
el 26 de Mayo de 2020
Carlos Cabo
el 26 de Mayo de 2020
Ali
el 14 de Jul. de 2020
@Carlos you have to downsample the point cloud first, this is the recommended approach by Matlab Documentation, refer to pcdownsample.
Respuestas (1)
Prashik Shende
el 22 de Oct. de 2020
0 votos
you can use pcsegdist
Categorías
Más información sobre Cloud Integrations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!