Skip to content

intensity_transform_logTransform

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

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

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

Given an input bgr or grayscale image and constant c, apply log transformation to the image on domain [0, 255] and return the resulting image.

intensity_transform_logTransform(input: Mat, output: Mat): void;
input

input bgr or grayscale image.

output

resulting image of log transformations.

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.