Point Cloud Alignment (Registration)
Show older comments
What is the best way to align 2 Point Clouds (as shown in the figure below)? I have tried ICP, NDT, Point Cloud Correlation and Feature matching but i didn't get any good results.
figure
pcshowpair(brushed_SF_PC,brushed_Links_PC)
%% NDT
gridStep = 0.01;
tform = pcregisterndt(brushed_Links_PC,brushed_SF_PC,gridStep);
result = pctransform(brushed_Links_PC,brushed_SF_PC);
figure
pcshowpair(result, brushed_SF_PC);
%% ICP
tformicp = pcregistericp(brushed_Links_PC,brushed_SF_PC,'Extrapolate',true,'Metric', 'pointToPoint','Extrapolate',true);
ptCloudAligned = pctransform(brushed_Links_PC,tformicp);
mergeSize = 0.015;
ptCloudScene = pcmerge(brushed_SF_PC,brushed_Links_PC, mergeSize);
% figure
pcshow(ptCloudScene, 'VerticalAxis','Y', 'VerticalAxisDir', 'Down')
Answers (1)
Image Analyst
on 18 Dec 2021
1 vote
Not an easy question to answer or solve. But you can start here:
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!