I tried to use the provided procrustes_analysis code to align my own optimized camera pose sequence to the ground truth, but found it is not robust to the scale: the aligned pose for [R, t] and [R, 5xt] is different, and thus the resulting R_error and t_error is different (the error for [R, 5xt] is higher than [R, t]). I found that R.det()<0 is True for [R, 5xt], but is False for [R, t]. I wonder if it is caused by numerical precision. Can you help me to make the procrustes_analysis more robust?
Hi, thanks for your great work!
I tried to use the provided
procrustes_analysis
code to align my own optimized camera pose sequence to the ground truth, but found it is not robust to the scale: the aligned pose for [R, t] and [R, 5xt] is different, and thus the resultingR_error
andt_error
is different (the error for [R, 5xt] is higher than [R, t]). I found thatR.det()<0
is True for [R, 5xt], but is False for [R, t]. I wonder if it is caused by numerical precision. Can you help me to make theprocrustes_analysis
more robust?