Register two point clouds using ICP algorithm works randomly

2 vues (au cours des 30 derniers jours)
Hamid
Hamid le 22 Août 2019
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.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by