Minimum distance between two Irregular forms

1 ビュー (過去 30 日間)
mohammed alany
mohammed alany 2019 年 3 月 31 日
コメント済み: mohammed alany 2019 年 4 月 1 日
WHAT is the min distance between these two shapes?
note: i know the connecting points of big figure.
didnot.jpg

採用された回答

Image Analyst
Image Analyst 2019 年 3 月 31 日
編集済み: Image Analyst 2019 年 4 月 1 日
If you have the stats toolbox, try this:
distances = pdist2(xyShape1, xyShape2)
minDistance = min(distances(:))
[minRows, minColumns] = find(distances == minDistance)
  18 件のコメント
mohammed alany
mohammed alany 2019 年 4 月 1 日
many thanks, now it's work correctly.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by