Skip to content

ccm_InitialMethodType

Computational photographyclassOpenCV 5.0.0
import { ccm_InitialMethodType } from '@banou/opencv-wasm'

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

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

Enum of the possible types of initial method.

Constructors and members

static INITIAL_METHOD_WHITE_BALANCE

The white balance method. The initial value is:\n

INITIAL_METHOD_WHITE_BALANCE: ccm_InitialMethodTypeValue<0>,

static INITIAL_METHOD_LEAST_SQUARE

The least square method is an optimal solution under the linear RGB distance function

INITIAL_METHOD_LEAST_SQUARE: ccm_InitialMethodTypeValue<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.