Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 30301eb

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
1 parent e885b28 commit 30301eb

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/aliceVision/sfm/bundle/costfunctions/projection.hpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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];

0 commit comments

Comments
 (0)