Skip to content

intensity_transform_autoscaling

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

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

ARGUMENTSinput, output
FUNCTIONintensity_transform_autoscaling
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, apply autoscaling on domain [0, 255] to increase the contrast of the input image and return the resulting image.

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

input bgr or grayscale image.

output

resulting image of autoscaling.

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.