Skip to content

SacModelType

geometryclassOpenCV 5.0.0
import { SacModelType } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSSacModelType
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.

Native enum entries for sac model type. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static SAC_MODEL_PLANE

The 3D PLANE model coefficients in list [a, b, c, d], corresponding to the coefficients of equation ax + by + cz + d = 0.

SAC_MODEL_PLANE: SacModelTypeValue<0>,

static SAC_MODEL_SPHERE

The 3D SPHERE model coefficients in list [center_x, center_y, center_z, radius], corresponding to the coefficients of equation (x - center\_x)^2 + (y - center\_y)^2 + (z - center\_z)^2 = radius^2.

SAC_MODEL_SPHERE: SacModelTypeValue<1>

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.