Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

Number of iterations Open3D

Open edwincasallas22 opened this issue 7 years ago • 4 comments

Hello I'm working with point clouds taken with a Kinect. My goal is the total registration for 3D mapping of places or crops. I'm using the multiway registration code.

I'm wondering if there is a way to change the number of iterations of this code? I've seen that it only does 30 iterations by default.

edwincasallas22 avatar Nov 26 '19 01:11 edwincasallas22

same question.. then following the topic.

Fred3D-tech avatar Nov 26 '19 08:11 Fred3D-tech

Do you mean the number of iterations for pose graph optimization? If yes, you can look at the method run_posegraph_optimization in optimize_posegraph.py. There, the o3d.registration.global_optimization method takes a o3d.registration.GlobalOptimizationConvergenceCriteria as parameter. According to the doc, you can pass max_iter there.

griegler avatar Nov 27 '19 07:11 griegler

griegler I am working with this code http://www.open3d.org/docs/release/tutorial/Advanced/multiway_registration.html

This code has 30 iterations by default. What I want are more iterations to improve the 3D mapping of my point clouds.

But I don't know how to do this. I've searched everywhere and haven't found the best way. You could help me?

edwincasallas22 avatar Nov 27 '19 20:11 edwincasallas22

As already stated above, you have to add max_iter=100, or whatever value you like to o3d.registration.GlobalOptimizationConvergenceCriteria in run_posegraph_optimization.

griegler avatar Nov 28 '19 15:11 griegler