Skip to content

phase_unwrapping_PhaseUnwrapping

phase_unwrappingclassOpenCV 5.0.0
import { phase_unwrapping_PhaseUnwrapping } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSphase_unwrapping_PhaseUnwrapping
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits Algorithm.

Abstract base class for phase unwrapping.

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;
Returns

The this result.

unwrapPhaseMap

Unwraps a 2D phase map.

unwrapPhaseMap(wrappedPhaseMap: Mat, unwrappedPhaseMap: Mat, shadowMask: Mat): void;
2 available overloads
unwrapPhaseMap(wrappedPhaseMap: Mat, unwrappedPhaseMap: Mat): void;
unwrapPhaseMap(wrappedPhaseMap: Mat, unwrappedPhaseMap: Mat, shadowMask: Mat): void;
wrappedPhaseMap

The wrapped phase map of type CV_32FC1 that needs to be unwrapped.

unwrappedPhaseMap

Output destination, filled by the native operation. The unwrapped phase map.

shadowMask

Optional CV_8UC1 mask image used when some pixels do not hold any phase information in the wrapped phase map.

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.