5#ifndef OPENCV_QUALITYBASE_HPP
6#define OPENCV_QUALITYBASE_HPP
8#include <opencv2/core.hpp>
35 virtual CV_WRAP
cv::Scalar compute( InputArray img ) = 0;
40 if (!dst.needed() || _qualityMap.empty() )
42 dst.assign(_qualityMap);
49 CV_WRAP
bool empty() const CV_OVERRIDE {
return _qualityMap.empty(); }
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
This is a base class for all more or less complex algorithms in OpenCV
Definition: core.hpp:3091
virtual CV_WRAP void clear()
Clears the algorithm state
Definition: core.hpp:3098
Definition: qualitybase.hpp:25
_mat_type _qualityMap
Output quality maps if generated by algorithm
Definition: qualitybase.hpp:57
virtual ~QualityBase()=default
Destructor
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75