How do we cluster a set of lines in space

조회 수: 1 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2018년 6월 12일
댓글: Sim 2022년 7월 5일
How do we cluster a set of lines in space?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2018년 6월 12일
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
Sim
Sim 2022년 7월 5일
Any Minimal Working Example (MWE) here to detect clusters of lines please?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cluster Analysis and Anomaly Detection에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by