Filter2DParams
import { Filter2DParams } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
filter2 dparams value in the OpenCV API.
Constructors and members
static new
Create an owned Filter2DParams object. Release native handles with using or delete().
new(): Filter2DParams;The Filter2DParams result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
borderValue
Constant border scalar. OpenCV 5.0 currently requires all four components to be zero; filter2Dp throws for a nonzero borderValue.
borderValue: Scalar;anchorX
anchor x value for Filter2DParams.
anchorX: number;anchorY
anchor y value for Filter2DParams.
anchorY: number;borderType
Filter2DParams.borderType: imgproc_filter
borderType: number;ddepth
ddepth value for Filter2DParams.
ddepth: number;scale
scale value for Filter2DParams.
scale: number;shift
example: samples/cpp/tutorial_code/ImgProc/basic_drawing/Drawing_1.cpp
shift: number;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.