OpenCV  4.1.0
Open Source Computer Vision
Public Member Functions | Protected Types | Protected Attributes | List of all members
cv::quality::QualityBase Class Referenceabstract

#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
 Destructor. More...
 
void clear () CV_OVERRIDE
 Implements Algorithm::clear() More...
 
virtual cv::Scalar compute (InputArrayOfArrays cmpImgs)=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. More...
 
bool empty () const CV_OVERRIDE
 Implements Algorithm::empty() More...
 
virtual void getQualityMaps (OutputArrayOfArrays dst) const
 Returns output quality map images that were generated during computation, if supported by the algorithm. More...
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 Reads algorithm parameters from a file storage. More...
 
virtual void save (const String &filename) const
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage. More...
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) 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. More...
 

Protected Types

using _quality_map_type = cv::UMat
 internal quality map type default More...
 

Protected Attributes

std::vector< _quality_map_type_qualityMaps
 Output quality maps if generated by algorithm. More...
 

Additional Inherited Members

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

Member Typedef Documentation

§ _quality_map_type

internal quality map type default

Constructor & Destructor Documentation

§ ~QualityBase()

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

Destructor.

Member Function Documentation

§ clear()

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

§ compute()

virtual cv::Scalar cv::quality::QualityBase::compute ( InputArrayOfArrays  cmpImgs)
pure virtual
Python:
retval=cv.quality_QualityBase.compute(cmpImgs)

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.

Parameters
cmpImgscomparison image(s), or image(s) to evalute for no-reference quality algorithms

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

§ empty()

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

§ getQualityMaps()

virtual void cv::quality::QualityBase::getQualityMaps ( OutputArrayOfArrays  dst) const
inlinevirtual
Python:
dst=cv.quality_QualityBase.getQualityMaps([, dst])

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

Member Data Documentation

§ _qualityMaps

std::vector<_quality_map_type> cv::quality::QualityBase::_qualityMaps
protected

Output quality maps if generated by algorithm.


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