Skip to content

intensity_transform_BIMEF

intensity_transformfunctionOpenCV 5.0.0
import { intensity_transform_BIMEF } from '@banou/opencv-wasm'

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

ARGUMENTSinput, output, mu, a
FUNCTIONintensity_transform_BIMEF
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Given an input color image, enhance low-light images using the BIMEF method ([ying2017bio] [ying2017new]).

Warning: This is a C++ implementation of the original MATLAB algorithm. Compared to the original code, this implementation is a little bit slower and does not provide the same results. In particular, quality of the image enhancement is degraded for the bright areas in certain conditions.

intensity_transform_BIMEF(input: Mat, output: Mat, mu: number, a: number, b: number): void;
4 available overloads
intensity_transform_BIMEF(input: Mat, output: Mat): void;
intensity_transform_BIMEF(input: Mat, output: Mat, mu: number): void;
intensity_transform_BIMEF(input: Mat, output: Mat, mu: number, a: number): void;
intensity_transform_BIMEF(input: Mat, output: Mat, mu: number, a: number, b: number): void;
input

input color image.

output

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

mu

enhancement ratio.

a

a-parameter in the Camera Response Function (CRF).

b

b-parameter in the Camera Response Function (CRF).

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.