Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

point cloud registration to make comple 3d model

Open jrajpal5-singularity opened this issue 5 years ago • 7 comments

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). No6testmr00 snapshot01

jrajpal5-singularity avatar Nov 16 '21 22:11 jrajpal5-singularity

What is the problem? I saw your attempts, but you didn't use any point cloud registration algorithm right?

theNded avatar Nov 17 '21 00:11 theNded

I have used these transformation matrix for initialization then i have used point to plane ICP algorithm.

jrajpal5-singularity avatar Nov 18 '21 11:11 jrajpal5-singularity

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).

theNded avatar Nov 18 '21 16:11 theNded

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 snapshot00

jrajpal5-singularity avatar Nov 19 '21 17:11 jrajpal5-singularity

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. twoshoulders00

jrajpal5-singularity avatar Nov 19 '21 17:11 jrajpal5-singularity

  1. Realsense is noisy, minor misalignment is expected.
  2. 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.
  3. The better practice should be rotating the camera instead of yourself -- the registration algorithm heavily relies on the backgrounds.
  4. You may use multiway registration to register multiple point clouds and reduce artifacts.

theNded avatar Nov 19 '21 23:11 theNded

I have tried many approaches for alignment And i have found without registration I am getting a result like in image resultwithoutregistration00 And with icp registration (point to plane or colored point cloud registration). one of the point cloud gets shifted upwards(in y- axis).

jrajpal5-singularity avatar Nov 20 '21 07:11 jrajpal5-singularity