QualitySSIM class

Inheritance

Constructors

QualitySSIM.create(Mat img)
Create an object which calculates quality.
factory
QualitySSIM.fromPointer(Pointer<QualitySSIM> ptr, [bool attach = true])

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDisposed → bool
Whether this object has been disposed.
no setterinherited
props → List<Object?>
no setterinherited
ptr ↔ Pointer<QualitySSIM>
getter/setter pairinherited
ref → QualitySSIM
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

compute(Mat cmp) → Scalar
Computes SSIM.
computeAsync(Mat cmp) → Future<Scalar>
async version of compute
dispose() → void
Releases the underlying native resources. Idempotent: calling it more than once is safe, but the object must not be used after dispose.
inherited
freeNative() → void
Frees the native resources owned by this object. Subclasses implement the concrete free logic here; callers must use dispose instead.
override
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 img, Mat cmp, {Mat? qualityMap}) → (Scalar, Mat)
static method for computing quality
compute1Async(Mat img, Mat cmp, {Mat? qualityMap}) → Future<(Scalar, Mat)>
async version of compute1