QualityPSNR class

Inheritance

Constructors

QualityPSNR.create(Mat ref, {double maxPixelValue = 255})
Create an object which calculates quality.
factory
QualityPSNR.fromPointer(Pointer<QualityPSNR> ptr, [bool attach = true])

Properties

hashCode int
The hash code for this object.
no setterinherited
maxPixelValue double
getter/setter pair
props List<Object?>
no setterinherited
ptr Pointer<QualityPSNR>
getter/setter pairinherited
ref → QualityPSNR
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compute(Mat cmp) Scalar
Compute the PSNR.
computeAsync(Mat cmp) Future<Scalar>
async version of compute
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

finalizer NativeFinalizer
final

Static Methods

compute1(Mat ref, Mat cmp, {Mat? qualityMap, double maxPixelValue = 255}) → (Scalar, Mat)
static method for computing quality
compute1Async(Mat ref, Mat cmp, {Mat? qualityMap, double maxPixelValue = 255}) Future<(Scalar, Mat)>
async version of compute1