Full reference mean square error algorithm https://en.wikipedia.org/wiki/Mean_squared_error
[詳解]
#include <qualitymse.hpp>
cv::quality::QualityBaseを継承しています。
|
CV_WRAP cv::Scalar | compute (InputArrayOfArrays cmpImgs) CV_OVERRIDE |
| Computes MSE for reference images supplied in class constructor and provided comparison images [詳解]
|
|
CV_WRAP bool | empty () const CV_OVERRIDE |
| Implements Algorithm::empty()
[詳解]
|
|
CV_WRAP void | clear () CV_OVERRIDE |
| Implements Algorithm::clear()
[詳解]
|
|
virtual | ~QualityBase ()=default |
| Destructor
|
|
virtual CV_WRAP void | getQualityMap (OutputArray dst) const |
| Returns output quality map that was generated during computation, if supported by the algorithm
|
|
virtual void | write (FileStorage &fs) const |
| Stores algorithm parameters in a file storage [詳解]
|
|
CV_WRAP void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
|
|
virtual CV_WRAP void | read (const FileNode &fn) |
| Reads algorithm parameters from a file storage [詳解]
|
|
virtual CV_WRAP void | save (const String &filename) const |
|
virtual CV_WRAP String | getDefaultName () const |
|
|
static CV_WRAP Ptr< QualityMSE > | create (InputArray ref) |
| Create an object which calculates quality [詳解]
|
|
static CV_WRAP cv::Scalar | compute (InputArray ref, InputArray cmp, OutputArray qualityMap) |
| static method for computing quality [詳解]
|
|
template<typename _Tp > |
static Ptr< _Tp > | read (const FileNode &fn) |
| Reads algorithm from the file node [詳解]
|
|
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 [詳解]
|
|
|
using | _mat_type = cv::UMat |
| internal mat type default
|
|
◆ QualityMSE()
Constructor
- 引数
-
ref | reference image, converted to internal type |
◆ clear()
CV_WRAP void cv::quality::QualityMSE::clear |
( |
| ) |
|
|
inlinevirtual |
◆ compute() [1/2]
static CV_WRAP cv::Scalar cv::quality::QualityMSE::compute |
( |
InputArray |
ref, |
|
|
InputArray |
cmp, |
|
|
OutputArray |
qualityMap |
|
) |
| |
|
static |
static method for computing quality
- 引数
-
ref | reference image |
cmp | comparison image= |
qualityMap | output quality map, or cv::noArray() |
- 戻り値
- cv::Scalar with per-channel quality values. Values range from 0 (best) to max float (worst)
◆ compute() [2/2]
CV_WRAP cv::Scalar cv::quality::QualityMSE::compute |
( |
InputArrayOfArrays |
cmpImgs | ) |
|
|
virtual |
Computes MSE for reference images supplied in class constructor and provided comparison images
- 引数
-
cmpImgs | Comparison image(s) |
- 戻り値
- cv::Scalar with per-channel quality values. Values range from 0 (best) to potentially max float (worst)
cv::quality::QualityBaseを実装しています。
◆ create()
static CV_WRAP Ptr< QualityMSE > cv::quality::QualityMSE::create |
( |
InputArray |
ref | ) |
|
|
static |
Create an object which calculates quality
- 引数
-
ref | input image to use as the reference for comparison |
◆ empty()
CV_WRAP bool cv::quality::QualityMSE::empty |
( |
| ) |
const |
|
inlinevirtual |
このクラス詳解は次のファイルから抽出されました: