Skip to content

CalibrateDebevec

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

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

ARGUMENTSConstructor or factory
CLASSCalibrateDebevec
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. Inherits CalibrateCRF.

Inverse camera response function is extracted for each brightness value by minimizing an objective function as linear system. Objective function is constructed using pixel values on the same position in all images, extra term is added to make the result smoother.

For more information see [DM97] .

Constructors and members

clone

Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.

clone(): this;
Returns

The this result.

getLambda

Return the lambda configured on this CalibrateDebevec object.

getLambda(): number;
Returns

The number result.

setLambda

Set the lambda used by this CalibrateDebevec object.

setLambda(lambda: number): void;
lambda

lambda argument (number).

getSamples

Return the samples configured on this CalibrateDebevec object.

getSamples(): number;
Returns

The number result.

setSamples

Set the samples used by this CalibrateDebevec object.

setSamples(samples: number): void;
samples

samples argument (number).

getRandom

Return the random configured on this CalibrateDebevec object.

getRandom(): boolean;
Returns

The boolean result.

setRandom

Set the random used by this CalibrateDebevec object.

setRandom(random: boolean): void;
random

random argument (boolean).

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.