#include <opencv2/quality/qualitybase.hpp>

Public Member Functions | |
virtual | ~QualityBase ()=default |
Destructor. | |
void | clear () CV_OVERRIDE |
Implements 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 |
Implements Algorithm::empty() | |
virtual void | getQualityMap (OutputArray dst) const |
Returns output quality map that was generated during computation, if supported by the algorithm | |
![]() | |
Algorithm () | |
virtual | ~Algorithm () |
virtual void | clear () |
Clears the algorithm state. | |
virtual bool | empty () const |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
virtual String | getDefaultName () const |
virtual void | read (const FileNode &fn) |
Reads algorithm parameters from a file storage. | |
virtual void | save (const String &filename) const |
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
virtual void | write (FileStorage &fs) const |
Stores algorithm parameters in a file storage. | |
void | write (FileStorage &fs, const String &name) const |
Protected Types | |
using | _mat_type = cv::UMat |
internal mat type default | |
Protected Attributes | |
_mat_type | _qualityMap |
Output quality maps if generated by algorithm. | |
Additional Inherited Members | |
![]() | |
template<typename _Tp > | |
static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
Loads algorithm from the file. | |
template<typename _Tp > | |
static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
Loads algorithm from a String. | |
template<typename _Tp > | |
static Ptr< _Tp > | read (const FileNode &fn) |
Reads algorithm from the file node. | |
![]() | |
void | writeFormat (FileStorage &fs) const |
Member Typedef Documentation
◆ _mat_type
|
protected |
internal mat type default
Constructor & Destructor Documentation
◆ ~QualityBase()
|
virtualdefault |
Destructor.
Member Function Documentation
◆ clear()
|
inlinevirtual |
Implements Algorithm::clear()
Reimplemented from cv::Algorithm.
Reimplemented in cv::quality::QualityGMSD, cv::quality::QualityMSE, cv::quality::QualityPSNR, and cv::quality::QualitySSIM.
◆ compute()
|
pure virtual |
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
-
img comparison image, or image to evalute for no-reference quality algorithms
Implemented in cv::quality::QualityGMSD, cv::quality::QualityPSNR, cv::quality::QualitySSIM, cv::quality::QualityBRISQUE, and cv::quality::QualityMSE.
◆ empty()
|
inlinevirtual |
Implements Algorithm::empty()
Reimplemented from cv::Algorithm.
Reimplemented in cv::quality::QualityGMSD, cv::quality::QualityMSE, cv::quality::QualityPSNR, and cv::quality::QualitySSIM.
◆ getQualityMap()
|
inlinevirtual |
Returns output quality map that was generated during computation, if supported by the algorithm
Member Data Documentation
◆ _qualityMap
|
protected |
Output quality maps if generated by algorithm.
The documentation for this class was generated from the following file:
- opencv2/quality/qualitybase.hpp