Skip to content

Commit 905cc45

Browse files
committed
Document some stitching methods and enable bindings for them.
1 parent 7095cb6 commit 905cc45

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

modules/stitching/include/opencv2/stitching.hpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,13 @@ class CV_EXPORTS_W Stitcher
299299
*/
300300
CV_WRAP Status stitch(InputArrayOfArrays images, InputArrayOfArrays masks, OutputArray pano);
301301

302-
std::vector<int> component() const { return indices_; }
303-
std::vector<detail::CameraParams> cameras() const { return cameras_; }
302+
/** @brief Returns indeces of input images used in panorama stitching
303+
*/
304+
CV_WRAP std::vector<int> component() const { return indices_; }
305+
306+
/** Returns estimated camera parameters for all stitched images
307+
*/
308+
CV_WRAP std::vector<cv::detail::CameraParams> cameras() const { return cameras_; }
304309
CV_WRAP double workScale() const { return work_scale_; }
305310

306311
/** @brief Return the mask of the panorama.

0 commit comments

Comments
 (0)