File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
vortex_utils/include/vortex/utils Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,14 @@ struct Pose;
2626 */
2727struct Twist ;
2828
29+ /* *
30+ * @brief Camera intrinsic parameters for an ideal pinhole (perspective) camera,
31+ * following Eq. (2.57) in
32+ * Szeliski, R., Computer Vision: Algorithms and Applications,
33+ * 2nd ed., Springer, 2022.
34+ */
35+ struct CameraIntrinsics ;
36+
2937struct PoseEuler {
3038 double x{};
3139 double y{};
@@ -328,7 +336,7 @@ inline PoseEuler Pose::as_pose_euler() const {
328336 .yaw = euler_angles (2 )};
329337 return eta;
330338}
331- struct CameraMatrixK {
339+ struct CameraIntrinsics {
332340 double fx{};
333341 double fy{};
334342 double cx{};
@@ -344,6 +352,11 @@ struct CameraMatrixK {
344352 }
345353 }
346354
355+ /* *
356+ * @brief Get the camera intrinsic matrix K
357+ * according to Eq. (2.57) in Szeliski, 2022.
358+ * @return Eigen::Matrix3d K
359+ */
347360 Eigen::Matrix3d K () const {
348361 validate_focals ();
349362 Eigen::Matrix3d k = Eigen::Matrix3d::Identity ();
You can’t perform that action at this time.
0 commit comments