Skip to content
Snippets Groups Projects
Commit 46e57f3d authored by Andrews Sobral's avatar Andrews Sobral
Browse files

BackgroundSubtractorLBSP fixed

parent 08d6dd18
No related branches found
No related tags found
No related merge requests found
...@@ -44,9 +44,9 @@ void BackgroundSubtractorLBSP::initialize(const cv::Mat& oInitImg) { ...@@ -44,9 +44,9 @@ void BackgroundSubtractorLBSP::initialize(const cv::Mat& oInitImg) {
this->initialize(oInitImg,cv::Mat()); this->initialize(oInitImg,cv::Mat());
} }
cv::AlgorithmInfo* BackgroundSubtractorLBSP::info() const { /*cv::AlgorithmInfo* BackgroundSubtractorLBSP::info() const {
return nullptr; return nullptr;
} }*/
cv::Mat BackgroundSubtractorLBSP::getROICopy() const { cv::Mat BackgroundSubtractorLBSP::getROICopy() const {
return m_oROI.clone(); return m_oROI.clone();
......
...@@ -26,7 +26,7 @@ public: ...@@ -26,7 +26,7 @@ public:
//! primary model update function; the learning param is used to override the internal learning speed (ignored when <= 0) //! 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; virtual void operator()(cv::InputArray image, cv::OutputArray fgmask, double learningRate=0)=0;
//! unused, always returns nullptr //! unused, always returns nullptr
virtual cv::AlgorithmInfo* info() const; //virtual cv::AlgorithmInfo* info() const;
//! returns a copy of the ROI used for descriptor extraction //! returns a copy of the ROI used for descriptor extraction
virtual cv::Mat getROICopy() const; 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) //! sets the ROI to be used for descriptor extraction (note: this function will reinit the model and return the usable ROI)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment