How to match two point-cloud?

6 次查看(过去 30 天)
Geoffrey
Geoffrey 2013-7-3
Hello there, I have two 2D point-cloud with the same number of element. For example : http://image.noelshack.com/fichiers/2013/27/1372856740-sans-titre.png
So how to reorder each line in the matrix corresponding of the red figure to have the same position than the matrix corresponding of the blue figure?
for example if i plot the position of each point of each matrix i got :
plot(cloud1(:,1),cloud1(:,2),'b+');hold on;set(gca,'dataaspectratio',[1 1 1])
for l = 1:length(cloud1)
text(cloud1(l,1)+3,cloud1(l,2)+5,num2str(l), ...
'Color','b','Clipping','on');
end
plot(cloud2(:,1),cloud2(:,2),'r+');
for l = 1:length(cloud2)
text(cloud2(l,1)+3,cloud2(l,2)+5,num2str(l), ...
'Color','r','Clipping','on');
end
As you can see the points in the red matrix are bad organised. The point in the position 224 in the red matrix should be in the position 300 etc...
I suppose that i should use ICP but i don't know how... Thank you for your help.

回答(1 个)

Matt J
Matt J 2013-7-3
编辑:Matt J 2013-7-3
  1 个评论
Geoffrey
Geoffrey 2013-7-3
But i didn't want to rotate or translate my red cloud, I only want to find the corresponding points in the blue cloud. The positions of my points mustn't change.
To be simple i have in entry :a blue matrix well ordered (the reference) and a red matrix wrong ordered .
I would like in output :a blue matrix well ordered and a red matrix well ordered.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Point Cloud Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by