quality_QualityGMSD
import { quality_QualityGMSD } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits quality_QualityBase.
Full reference GMSD algorithm http://www4.comp.polyu.edu.hk/~cslzhang/IQA/GMSD/GMSD.htm
Constructors and members
static compute1
static method for computing quality
compute1(ref: Mat, cmp: Mat, qualityMap: Mat): Scalar;refreference image
cmpcomparison image
qualityMapOutput destination, filled by the native operation. output quality map, or cv::noArray()
cv::Scalar with per-channel quality value. Values range from 0 (worst) to 1 (best)
static create
Create an object which calculates image quality
create(ref: Mat): quality_QualityGMSD | null;refreference image
The quality_QualityGMSD | null result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
compute
quality_QualityGMSD.compute: Compute GMSD
compute(cmp: Mat): Scalar;cmpcomparison image
cv::Scalar with per-channel quality value. Values range from 0 (worst) to 1 (best)
empty
Implements Algorithm::empty()
empty(): boolean;The boolean result.
clear
Implements Algorithm::clear()
clear(): void;These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.