From b28d9bef1d96d10e9a47d55a63d9f1443e6e3d2b Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 8 Sep 2025 14:52:58 +0300 Subject: [PATCH] Renamed templated BlocksCompensator::feed method to exclude claches with base class pure virtual method. --- .../opencv2/stitching/detail/exposure_compensate.hpp | 2 +- modules/stitching/src/exposure_compensate.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp b/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp index dea76c957b..2954f32ca3 100644 --- a/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp +++ b/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp @@ -187,7 +187,7 @@ public: protected: template - void feed(const std::vector &corners, const std::vector &images, + void feedWithStrategy(const std::vector &corners, const std::vector &images, const std::vector > &masks); private: diff --git a/modules/stitching/src/exposure_compensate.cpp b/modules/stitching/src/exposure_compensate.cpp index 59542d95ba..f7c33fa4ef 100644 --- a/modules/stitching/src/exposure_compensate.cpp +++ b/modules/stitching/src/exposure_compensate.cpp @@ -460,7 +460,7 @@ void ChannelsCompensator::setMatGains(std::vector& umv) template -void BlocksCompensator::feed(const std::vector &corners, const std::vector &images, +void BlocksCompensator::feedWithStrategy(const std::vector &corners, const std::vector &images, const std::vector > &masks) { CV_Assert(corners.size() == images.size() && images.size() == masks.size()); @@ -605,13 +605,13 @@ void BlocksCompensator::setMatGains(std::vector& umv) void BlocksGainCompensator::feed(const std::vector &corners, const std::vector &images, const std::vector > &masks) { - BlocksCompensator::feed(corners, images, masks); + BlocksCompensator::feedWithStrategy(corners, images, masks); } void BlocksChannelsCompensator::feed(const std::vector &corners, const std::vector &images, const std::vector > &masks) { - BlocksCompensator::feed(corners, images, masks); + BlocksCompensator::feedWithStrategy(corners, images, masks); }