How do we cluster a set of lines in space

1 visualización (últimos 30 días)
MathWorks Support Team
MathWorks Support Team el 12 de Jun. de 2018
Comentada: Sim el 5 de Jul. de 2022
How do we cluster a set of lines in space?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 12 de Jun. de 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 comentario
Sim
Sim el 5 de Jul. de 2022
Any Minimal Working Example (MWE) here to detect clusters of lines please?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Cluster Analysis and Anomaly Detection en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by