From 905cc45f85ad851b4a19ec8fa1898496f62b4dc9 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 25 Nov 2024 14:03:49 +0300 Subject: [PATCH] Document some stitching methods and enable bindings for them. --- modules/stitching/include/opencv2/stitching.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/stitching/include/opencv2/stitching.hpp b/modules/stitching/include/opencv2/stitching.hpp index 8a81223124..41f0550618 100644 --- a/modules/stitching/include/opencv2/stitching.hpp +++ b/modules/stitching/include/opencv2/stitching.hpp @@ -299,8 +299,13 @@ public: */ CV_WRAP Status stitch(InputArrayOfArrays images, InputArrayOfArrays masks, OutputArray pano); - std::vector component() const { return indices_; } - std::vector cameras() const { return cameras_; } + /** @brief Returns indeces of input images used in panorama stitching + */ + CV_WRAP std::vector component() const { return indices_; } + + /** Returns estimated camera parameters for all stitched images + */ + CV_WRAP std::vector cameras() const { return cameras_; } CV_WRAP double workScale() const { return work_scale_; } /** @brief Return the mask of the panorama.