Register two point clouds using ICP algorithm works randomly

2 次查看(过去 30 天)
Hello. I have two point clouds and I want to find the transformation function to register them. I used both pcregrigid and pcreistericp command. The first attempt was unsuccessful (Reg0.png: fixed points are blue, moving object is red and moved object is black), but I just moved the fixed object a little bit and it gave me a perfect registration (Reg1.png). How to make sure to have rebost results with the registration commands in Matlab?
here is my simple script:
load('pc.mat');
fixed = pointCloud(pc1);
moving = pointCloud(pc2);
%tform = pcregrigid(moving,fixed,'Extrapolate',true); %matlab does not suggest this command anymore
tform = pcregistericp(moving,fixed,'Extrapolate',true);
moved = pctransform(moving,tform);
p.s. I tried downsampling too, it did not help.

回答(0 个)

类别

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