From 46e57f3dd51b3e89750ac641f11c53c52f62cb5e Mon Sep 17 00:00:00 2001 From: Andrews Sobral <andrewssobral@gmail.com> Date: Thu, 16 Jul 2015 04:12:01 +0200 Subject: [PATCH] BackgroundSubtractorLBSP fixed --- package_bgs/pl/BackgroundSubtractorLBSP.cpp | 4 ++-- package_bgs/pl/BackgroundSubtractorLBSP.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package_bgs/pl/BackgroundSubtractorLBSP.cpp b/package_bgs/pl/BackgroundSubtractorLBSP.cpp index 642a8a5..6752f76 100644 --- a/package_bgs/pl/BackgroundSubtractorLBSP.cpp +++ b/package_bgs/pl/BackgroundSubtractorLBSP.cpp @@ -44,9 +44,9 @@ void BackgroundSubtractorLBSP::initialize(const cv::Mat& oInitImg) { this->initialize(oInitImg,cv::Mat()); } -cv::AlgorithmInfo* BackgroundSubtractorLBSP::info() const { +/*cv::AlgorithmInfo* BackgroundSubtractorLBSP::info() const { return nullptr; -} +}*/ cv::Mat BackgroundSubtractorLBSP::getROICopy() const { return m_oROI.clone(); diff --git a/package_bgs/pl/BackgroundSubtractorLBSP.h b/package_bgs/pl/BackgroundSubtractorLBSP.h index 4e4290d..5602d34 100644 --- a/package_bgs/pl/BackgroundSubtractorLBSP.h +++ b/package_bgs/pl/BackgroundSubtractorLBSP.h @@ -26,7 +26,7 @@ public: //! primary model update function; the learning param is used to override the internal learning speed (ignored when <= 0) virtual void operator()(cv::InputArray image, cv::OutputArray fgmask, double learningRate=0)=0; //! unused, always returns nullptr - virtual cv::AlgorithmInfo* info() const; + //virtual cv::AlgorithmInfo* info() const; //! returns a copy of the ROI used for descriptor extraction virtual cv::Mat getROICopy() const; //! sets the ROI to be used for descriptor extraction (note: this function will reinit the model and return the usable ROI) -- GitLab