Register two point clouds using ICP algorithm works randomly

조회 수: 2 (최근 30일)
Hamid
Hamid 2019년 8월 22일
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