Skip to content

createCalibrateDebevec

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

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

ARGUMENTSsamples, lambda, random
FUNCTIONcreateCalibrateDebevec
RETURN TYPECalibrateDebevec | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Creates CalibrateDebevec object

createCalibrateDebevec(samples: number, lambda: number, random: boolean): CalibrateDebevec | null;
4 available overloads
createCalibrateDebevec(): CalibrateDebevec | null;
createCalibrateDebevec(samples: number): CalibrateDebevec | null;
createCalibrateDebevec(samples: number, lambda: number): CalibrateDebevec | null;
createCalibrateDebevec(samples: number, lambda: number, random: boolean): CalibrateDebevec | null;
samples

number of pixel locations to use

lambda

smoothness term weight. Greater values produce smoother results, but can alter the response.

random

if true sample pixel locations are chosen at random, otherwise they form a rectangular grid.

Returns

The CalibrateDebevec | null result.

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.