Registering pointclouds from two stereocameras
Show older comments
Hi, I have two calibrated stereocameras located on a circle pointing at the same object (the object is at the centre of the circle). Each stereocamera scans different slice of the object creating 3D pointcloud of the slice.(Please see the picture attached).

In the picture above, the blue section is scanned area by camera1, green is scanned area by camera2 and yellow section is overlap of these two areas. I have Rotation ([R]) and translation([t]) Of camera 2 relative to camera 1, using a checkerboard and Matlab stereo-vision calibration App. I am going to use R and t to transform pointcloud2 and align it with pointcloud1 to make the complete 3D model of the object.This is what I am doing in my code, I make the transformation matrix first:
M = [[R;T],[0;0;0;1]];
and then transform pointcloud2 as below:
PTCLOUD2_New = M * PTCLOUD2_Old';
Where PTCLOUD2_Old has an array of ones in last column to make a n*4 matrix. After this transformation pointcloud2 is transformed to new coordinate however the orientation of transformed pointcloud doesn't look right. Please let me know what I am missing here. Thanks,Navid
Answers (1)
Categories
Find more on Process Point Clouds 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!