diff --git a/modules/stitching/doc/camera.rst b/modules/stitching/doc/camera.rst new file mode 100644 index 000000000..5f7040b50 --- /dev/null +++ b/modules/stitching/doc/camera.rst @@ -0,0 +1,29 @@ +Camera +====== + +.. highlight:: cpp + +detail::CameraParams +-------------------- +.. ocv:class:: detail::CameraParams + +Describes camera parameters. + +.. note:: Translation is assumed to be zero during the whole stitching pipeline. + +:: + + struct CV_EXPORTS CameraParams + { + CameraParams(); + CameraParams(const CameraParams& other); + const CameraParams& operator =(const CameraParams& other); + Mat K() const; + + double focal; // Focal length + double aspect; // Aspect ratio + double ppx; // Principal point X + double ppy; // Principal point Y + Mat R; // Rotation + Mat t; // Translation + }; diff --git a/modules/stitching/doc/stitching.rst b/modules/stitching/doc/stitching.rst index 2f7de2949..e47cc7909 100644 --- a/modules/stitching/doc/stitching.rst +++ b/modules/stitching/doc/stitching.rst @@ -6,6 +6,7 @@ stitching. Images stitching :maxdepth: 2 high_level + camera matching motion_estimation autocalib