フィルターのクリア

Matching points between two point sets.

6 ビュー (過去 30 日間)
Maik
Maik 2022 年 12 月 26 日
回答済み: Matt J 2022 年 12 月 26 日
Set 1 size 20x2 and Set 2 size 23 x3.
I want to remove 3 points from Set 2 which would be points missing in Set 1 but the points are in different co-ordinate space hence pdist, knnsearch wont work.
I have used absor when point sets are same size but for different size which method would be suitable.
  2 件のコメント
Karim
Karim 2022 年 12 月 26 日
Did you store the desired points? At first glance they have very little in common. Can you provide further details on what you mean with matching points between these sets.
load('xy20.mat')
load('xy23.mat')
figure
hold on
scatter(xy20(:,1),xy20(:,2),'r','filled')
scatter(xy23(:,1),xy23(:,2),'g','filled')
grid on
figure
subplot(1,2,1)
scatter(xy20(:,1),xy20(:,2),'r','filled')
grid on
subplot(1,2,2)
scatter(xy23(:,1),xy23(:,2),'g','filled')
grid on
Maik
Maik 2022 年 12 月 26 日
編集済み: Maik 2022 年 12 月 26 日
Thanks for the reply.
I meant xy20 and xy23 are different co-ordinate system.
Problem is similar to the one in the link below, but I have different sizes for my point sets.

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

回答 (1 件)

Matt J
Matt J 2022 年 12 月 26 日
You would probably have to use ransac.

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by