xphoto_oilPainting
import { xphoto_oilPainting } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, dst, size, dynRatio
FUNCTIONxphoto_oilPainting
RETURN TYPEvoid
oilPainting See the book [Holzmann1988] for details.
xphoto_oilPainting(src: Mat, dst: Mat, size: number, dynRatio: number, code: number): void;srcInput three-channel or one channel image (either CV_8UC3 or CV_8UC1)
dstOutput destination, filled by the native operation. Output image of the same size and type as src.
sizeneighbouring size is 2-size+1
dynRatioimage is divided by dynRatio before histogram processing
codecolor space conversion code(see ColorConversionCodes). Histogram will used only first plane
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.