Skip to content

ccm_LinearizationType

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

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

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

Linearization transformation type

Constructors and members

static LINEARIZATION_IDENTITY

no change is made

LINEARIZATION_IDENTITY: ccm_LinearizationTypeValue<0>,

static LINEARIZATION_GAMMA

gamma correction; Need assign a value to gamma simultaneously

LINEARIZATION_GAMMA: ccm_LinearizationTypeValue<1>,

static LINEARIZATION_COLORPOLYFIT

polynomial fitting channels respectively; Need assign a value to deg simultaneously

LINEARIZATION_COLORPOLYFIT: ccm_LinearizationTypeValue<2>,

static LINEARIZATION_COLORLOGPOLYFIT

logarithmic polynomial fitting channels respectively; Need assign a value to deg simultaneously

LINEARIZATION_COLORLOGPOLYFIT: ccm_LinearizationTypeValue<3>,

static LINEARIZATION_GRAYPOLYFIT

grayscale polynomial fitting; Need assign a value to deg and dst_whites simultaneously

LINEARIZATION_GRAYPOLYFIT: ccm_LinearizationTypeValue<4>,

static LINEARIZATION_GRAYLOGPOLYFIT

grayscale Logarithmic polynomial fitting; Need assign a value to deg and dst_whites simultaneously

LINEARIZATION_GRAYLOGPOLYFIT: ccm_LinearizationTypeValue<5>

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.