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 Center および File ExchangeCluster 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