Skip to content

xphoto_oilPainting1

xphotofunctionOpenCV 5.0.0
import { xphoto_oilPainting1 } from '@banou/opencv-wasm'

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

ARGUMENTSsrc, dst, size, dynRatio
FUNCTIONxphoto_oilPainting1
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

oilPainting See the book [Holzmann1988] for details.

xphoto_oilPainting1(src: Mat, dst: Mat, size: number, dynRatio: number): void;
src

Input three-channel or one channel image (either CV_8UC3 or CV_8UC1)

dst

Output destination, filled by the native operation. Output image of the same size and type as src.

size

neighbouring size is 2-size+1

dynRatio

image is divided by dynRatio before histogram processing

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.