point cloud registration to make comple 3d model
hi i am trying to make 3d model of face using realsense d435i camera.
I have tried with 18 point cloud files of face with each point cloud has 20 degree difference with adjacent point cloud.
I have tried transform matrix T = [[1, 0, 0, 0], [0, -1, 0, 0], [0, 0, -1, 0], [0, 0, 0, 1]] and T = [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]] but was not getting correct alignment of face.
after that i tried the formula T = [[np.cos(angle),0,np.sin(angle),0],[0,1,0,0],[-1np.sin(angle),0,np.cos(angle),0],[0,0,0,1]] with translation matrix pcd.translate((.465np.sin(angle),0,.465*np.cos(angle)),relative=False) but i was getting void in the center. If i tried making a lower value than 0.465 causing the point clouds to shift in y axis(y axis is the axis of rotation).

What is the problem? I saw your attempts, but you didn't use any point cloud registration algorithm right?
I have used these transformation matrix for initialization then i have used point to plane ICP algorithm.
The images (esp Fig 1) show reasonable alignment, and I don't quite get what you want. I would suggest not to mess up with the initialization and tune the ICP parameters (number of iterations, distance threshold, etc).
i want to create a complete 3d model of face.
For this i am rotating myself along y-axis only according to which i added initial transformation for testing.
When i use only 2 point clouds; alignment is good
but when i add more of the point clouds to it; alignment gets disturbed.
I have also tried colored ICP algorithm and I am getting similar issue

I want to make a complete 3d model but I am getting back of the head as hollow and some images are shifted like in the image below there are 2 shoulders.

- Realsense is noisy, minor misalignment is expected.
- Every scan is hollow, because the sensor can only see the surface. You can use surface reconstruction to create mesh and make it look less hollow, but it indeed is still hollow.
- The better practice should be rotating the camera instead of yourself -- the registration algorithm heavily relies on the backgrounds.
- You may use multiway registration to register multiple point clouds and reduce artifacts.
I have tried many approaches for alignment
And i have found without registration I am getting a result like in image
And with icp registration (point to plane or colored point cloud registration). one of the point cloud gets shifted upwards(in y- axis).