File tree Expand file tree Collapse file tree
src/aliceVision/sfm/bundle/costfunctions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,11 +211,10 @@ struct ProjectionRelativeErrorFunctor
211211 const T* parameter_refpose = parameters[3 ];
212212 const T* parameter_relativepoint = parameters[4 ];
213213
214- // / (cam_T_world) * (ref_T_world)^-1 * ref_p
215- // / cam_R_world * (ref_R_world^T * ref_p - ref_R_world^T * ref_t_world) + cam_t_world
216- // / cam_R_world * (ref_R_world^T * ref_p + ref_c_world) + cam_t_world
217- // / cam_R_world * (ref_R_world^T * ref_p + ref_c_world) - cam_R_world * cam_c_world
218- // / cam_R_world * (ref_R_world^T * ref_p + ref_c_world - cam_c_world)
214+ // / Center-based pose parameterization:
215+ // / worldPoint = refcam_R^T * relpoint + refcam_c
216+ // / transformedPoint = cam_R * (worldPoint - cam_c)
217+ // / = cam_R * (refcam_R^T * relpoint + refcam_c - cam_c)
219218
220219 // Retrieve point
221220 T relpoint[3 ];
You can’t perform that action at this time.
0 commit comments