cv::quality::QualityBase Class Reference abstract
IQA (图像质量分析) API

#include <opencv2/quality/qualitybase.hpp>

Inheritance diagram for cv::quality::QualityBase:
cv::Algorithm cv::quality::QualityBRISQUE cv::quality::QualityGMSD cv::quality::QualityMSE cv::quality::QualityPSNR cv::quality::QualitySSIM

Public Member Functions

virtual ~QualityBase ()=default
析构函数。 更多...
void clear () CV_OVERRIDE
实现 Algorithm::clear() 更多...
virtual cv::Scalar compute ( InputArray img)=0
Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar . See specific algorithm for interpreting result scores. 更多...
bool empty () const CV_OVERRIDE
实现 Algorithm::empty() 更多...
virtual void getQualityMap ( OutputArray dst) const
Returns output quality map that was generated during computation, if supported by the algorithm. 更多...
- Public Member Functions inherited from cv::Algorithm
Algorithm ()
virtual ~Algorithm ()
virtual 字符串 getDefaultName () const
virtual void read (const FileNode &fn)
Reads algorithm parameters from a file storage. 更多...
virtual void save (const 字符串 &filename) const
virtual void write ( FileStorage &fs) const
Stores algorithm parameters in a file storage. 更多...
void write (const Ptr < FileStorage > &fs, const 字符串 &name= 字符串 ()) const
simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 更多...

保护类型

使用 _mat_type = cv::UMat
internal mat type default 更多...

Protected Attributes

_mat_type _qualityMap
Output quality maps if generated by algorithm. 更多...

额外继承成员

- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr < _Tp > load (const 字符串 &filename, const 字符串 &objname= 字符串 ())
Loads algorithm from the file. 更多...
template<typename _Tp >
static Ptr < _Tp > loadFromString (const 字符串 &strModel, const 字符串 &objname= 字符串 ())
Loads algorithm from a String. 更多...
template<typename _Tp >
static Ptr < _Tp > read (const FileNode &fn)
Reads algorithm from the file node. 更多...
- Protected Member Functions inherited from cv::Algorithm
void writeFormat ( FileStorage &fs) const

Member Typedef Documentation

_mat_type

internal mat type default

Constructor & Destructor Documentation

~QualityBase()

virtual cv::quality::QualityBase::~QualityBase ( )
virtual default

析构函数。

成员函数文档编制

clear()

void cv::quality::QualityBase::clear ( )
inline virtual
Python:
None = cv.quality_QualityBase.clear( )

compute()

virtual cv::Scalar cv::quality::QualityBase::compute ( InputArray img )
pure virtual
Python:
retval = cv.quality_QualityBase.compute( img )

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar . See specific algorithm for interpreting result scores.

参数
img comparison image, or image to evalute for no-reference quality algorithms

Implemented in cv::quality::QualityPSNR , cv::quality::QualityBRISQUE , cv::quality::QualityGMSD , cv::quality::QualitySSIM ,和 cv::quality::QualityMSE .

empty()

bool cv::quality::QualityBase::empty ( ) const
inline virtual
Python:
retval = cv.quality_QualityBase.empty( )

getQualityMap()

virtual void cv::quality::QualityBase::getQualityMap ( OutputArray dst ) const
inline virtual
Python:
dst = cv.quality_QualityBase.getQualityMap( [, dst] )

Returns output quality map that was generated during computation, if supported by the algorithm.

Member Data Documentation

_qualityMap

_mat_type cv::quality::QualityBase::_qualityMap
protected

Output quality maps if generated by algorithm.


The documentation for this class was generated from the following file: