quality_QualityBase
import { quality_QualityBase } 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 Algorithm.
Quality Base Class ***********************************
Constructors and members
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
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
compute(img: Mat): Scalar;imgcomparison image, or image to evalute for no-reference quality algorithms
The Scalar result.
getQualityMap
Returns output quality map that was generated during computation, if supported by the algorithm
getQualityMap(dst: Mat): void;dstOutput destination, filled by the native operation. dst argument (Mat).
clear
Implements Algorithm::clear()
clear(): void;empty
Implements Algorithm::empty()
empty(): boolean;The boolean result.
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.