Skip to content

ccm_CcmType

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

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

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

Constructors and members

static CCM_LINEAR

Uses a 3\times3 matrix to linearly transform RGB values without offsets.

CCM_LINEAR: ccm_CcmTypeValue<0>,

static CCM_AFFINE

Uses a 4\times3 matrix to affine transform RGB values with both scaling and offset terms.

CCM_AFFINE: ccm_CcmTypeValue<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.