From 9fa6edf2819756dd1908c2e6f94845e515b67c7c Mon Sep 17 00:00:00 2001 From: Alexey Spizhevoy Date: Thu, 19 Jan 2012 09:48:33 +0000 Subject: [PATCH] Updated the stitching module docs --- modules/stitching/doc/camera.rst | 29 +++++++++++++++++++++++++++++ modules/stitching/doc/stitching.rst | 1 + 2 files changed, 30 insertions(+) create mode 100644 modules/stitching/doc/camera.rst 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