transform 2 point clouds (2 cameras) to same origin [closed]
Hello, I get camera pos matrix K(4x4) = [R|t]; last row = [0,0,0,1] I don't understand how convert point cloud from camera coor. system to world coor. system?
I just apply my camera pos matrix to cloud. But I think it is wrong.
pcl::transformPointCloud (*cloud, *transformed_cloud2, K);
You have your camera pose matrix:
You have pt_in_camera_coord = cMo * pt_in_object_coord.
You want to know pt_in_object_coord: pt_in_object_coord = (cMo)^1 * pt_in_camera_coord.