You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
first of all, thank you for the python implementation.
I tried registering the bunnies you provided with the test.py function and the results were good.
However, when centering and scaling the model and data bunnies (as suggested by the instructions) the results are completely wrong. This is the code i use for centering and scaling, after which i run the test.py again with the new bunnies.
Nm, a_points, np_a_points=loadPointCloud('../data/model_bunny.txt');
Nd, b_points, np_b_points=loadPointCloud('../data/data_bunny.txt');
# center pcsnp_a_points_cent=np_a_points-np.mean(np_a_points,axis=0)
np_b_points_cent=np_b_points-np.mean(np_b_points,axis=0)
# scale to unit spherenp_a_points_cent_sc, np_b_points_cent_sc, scale=scale_to_unit_sphere(np_a_points_cent,
np_b_points_cent)
# save to np.savetxt("../data/model_bunny_centered_scaled.txt",np_a_points_cent_sc)
np.savetxt("../data/data_bunny_centered_scaled.txt",np_b_points_cent_sc)
where I add the number of points as the first line in the .txt files and the scaling function I use is:
I am using your function loadPointCloud from the test.py script. It loads a Nx3 numpy array.
Therefore np.mean(np_a_points,axis=0) is of dimension (3,) which is correct.
I am still not sure why are the results bad when centering and scaling.
Could you possibly run GO-ICP for yourself with the model_bunny_centered_scaled.txt and data_bunny_centered_scaled .txt as I processed them above?
Hi,
first of all, thank you for the python implementation.
I tried registering the bunnies you provided with the
test.py
function and the results were good.However, when centering and scaling the model and data bunnies (as suggested by the instructions) the results are completely wrong. This is the code i use for centering and scaling, after which i run the
test.py
again with the new bunnies.where I add the number of points as the first line in the
.txt
files and the scaling function I use is:Thank you in advance for any tips.
The text was updated successfully, but these errors were encountered: