Skip to content

ximgproc_contourSampling

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

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

ARGUMENTSsrc, out_, nbElt
FUNCTIONximgproc_contourSampling
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Contour sampling .

ximgproc_contourSampling(src: Mat, out_: Mat, nbElt: number): void;
src

contour type vector<Point> , vector<Point2f> or vector<Point2d>

out_

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

nbElt

number of points in out 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.