Can anyone help me in estimateGe​ometricTra​nsform3D command?

I have two point clouds (representing two 3D tea-kettles) of similar shape in which second one is scaled up by a factor 2. I have to align them depending on coressponding points and need to get these corresponding points. By corresponding point, I mean their alignment must be as per their shape, offcourse dimensions will be different.
In this given example, the point cloud 1 is rotated by angle 30 degrees about an axis. I have first tried to solve this by rotating and translating along x, y, and z directions i.e., I have changed all six degress of freedom. The code works very well and sucessfully aligned the two clouds.
However, when I multiplied the x, y and z cordinates of each point in clould 2 by factor 2 (as shown below), I am not getting comple object but only the upper part of the cloud (see attached image). Thankfully, they are still aligned.
matchedPoints1 = ptCloud1.Location;
matchedPoints2 = 2.*ptCloud2.Location;
Can anyone help me to resolve this issue by explaining how may i get the complete object? The objects are getting aligned but not able to get the complete object in the image. Matlab code is also attached.

Answers (0)

Categories

Asked:

on 28 Dec 2021

Edited:

on 28 Dec 2021

Community Treasure Hunt

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

Start Hunting!