How do we cluster a set of lines in space
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 12 Jun. 2018
Kommentiert: Sim
am 5 Jul. 2022
How do we cluster a set of lines in space?
Akzeptierte Antwort
MathWorks Support Team
am 12 Jun. 2018
MATLAB does not have any built-in functions specifically for clustering lines. However, you could achieve the goal of clustering lines following these two steps:
1. Define the distance between the lines. There are many ways of defining this and you should choose the most appropriate one based on the objective of your application. Just as an example, you can choose Hausdorff distance.
2. Based on the distances you calculated in step 1, run any clustering method to cluster the lines. For example, you can use kmeans.
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Cluster Analysis and Anomaly Detection finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!