ceres-solver / ceres-solver

A large scale non-linear optimization library
http://ceres-solver.org/
Other
3.66k stars 1.01k forks source link

An optimization problem #1035

Open YQ6666 opened 5 months ago

YQ6666 commented 5 months ago

When I optimized the external parameters of the telecentric lens, it was more precisely called the rotation matrix, but the rotation matrix of the telecentric lens only had the first two rows and the first two columns, that is, there were only four parameters r11,r12,r21 and r22. I wanted to optimize these four parameters, but there was a problem, that is, how to ensure that they still belonged to a rotation matrix after optimization. That is, how to ensure that they still conform to the rotation matrix constraint.

sandwichmaker commented 4 months ago

What does it mean for r11, r12, r21, r22 to conform to a rotation matrix?

YQ6666 commented 4 months ago

Because the rotation matrix satisfy orthogonality, so the r11, r12, r21, r22 have to meet certain conditions, such as any of they can't bigger than 1, and the conditions are more than this.