Skip to content

ccm_gammaCorrection

Computational photographyfunctionOpenCV 5.0.0
import { ccm_gammaCorrection } from '@banou/opencv-wasm'

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

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

Applies gamma correction to the input image.

ccm_gammaCorrection(src: Mat, dst: Mat, gamma: number): void;
src

Input image.

dst

Output destination, filled by the native operation. Output image.

gamma

Gamma correction greater than zero.

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.