Skip to content

ximgproc_transformFD

Extended image processingfunctionOpenCV 5.0.0
import { ximgproc_transformFD } from '@banou/opencv-wasm'

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

ARGUMENTSsrc, t, dst, fdContour
FUNCTIONximgproc_transformFD
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

transform a contour

ximgproc_transformFD(src: Mat, t: Mat, dst: Mat, fdContour: boolean): void;
2 available overloads
ximgproc_transformFD(src: Mat, t: Mat, dst: Mat): void;
ximgproc_transformFD(src: Mat, t: Mat, dst: Mat, fdContour: boolean): void;
src

contour or Fourier Descriptors if fd is true

t

transform Mat given by estimateTransformation

dst

Output destination, filled by the native operation. Mat of type CV_64FC2 and nbElt rows

fdContour

true src are Fourier Descriptors. fdContour false src is a contour

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.