From 32bb4fa9508a8287cf8a0d006a524d7e14d8a79d Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 1 Jul 2022 13:33:05 +0200 Subject: [PATCH] Update doc --- modules/stitching/include/opencv2/stitching.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/stitching/include/opencv2/stitching.hpp b/modules/stitching/include/opencv2/stitching.hpp index 3d1dbbd044..8a81223124 100644 --- a/modules/stitching/include/opencv2/stitching.hpp +++ b/modules/stitching/include/opencv2/stitching.hpp @@ -302,6 +302,14 @@ public: std::vector component() const { return indices_; } std::vector cameras() const { return cameras_; } CV_WRAP double workScale() const { return work_scale_; } + + /** @brief Return the mask of the panorama. + + The mask is a 8U UMat with the values: 0xFF (white) for pixels filled by the input images, + 0 (black) for unused pixels. It can be used as the mask for inpaint. + + @return The mask. + */ UMat resultMask() const { return result_mask_; } private: