InterpolationFlags
import { InterpolationFlags } 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.
imgproc_filter
interpolation algorithm
Constructors and members
static INTER_NEAREST
bilinear interpolation
INTER_NEAREST: InterpolationFlagsValue<0>,static INTER_LINEAR
bilinear interpolation
INTER_LINEAR: InterpolationFlagsValue<1>,static INTER_CUBIC
bicubic interpolation
INTER_CUBIC: InterpolationFlagsValue<2>,static INTER_AREA
resampling using pixel area relation. It may be a preferred method for image decimation, as it gives moire'-free results. But when the image is zoomed, it is similar to the INTER_NEAREST method.
INTER_AREA: InterpolationFlagsValue<3>,static INTER_LANCZOS4
Lanczos interpolation over 8x8 neighborhood
INTER_LANCZOS4: InterpolationFlagsValue<4>,static INTER_LINEAR_EXACT
Bit exact bilinear interpolation
INTER_LINEAR_EXACT: InterpolationFlagsValue<5>,static INTER_NEAREST_EXACT
Bit exact nearest neighbor interpolation. This will produce same results as the nearest neighbor method in PIL, scikit-image or Matlab.
INTER_NEAREST_EXACT: InterpolationFlagsValue<6>,static INTER_MAX
mask for interpolation codes
INTER_MAX: InterpolationFlagsValue<7>,static WARP_FILL_OUTLIERS
flag, fills all of the destination image pixels. If some of them correspond to outliers in the source image, they are set to zero
WARP_FILL_OUTLIERS: InterpolationFlagsValue<8>,static WARP_INVERSE_MAP
flag, inverse transformation
WARP_INVERSE_MAP: InterpolationFlagsValue<16>,static WARP_RELATIVE_MAP
warp relative map constant (32), defined by OpenCV for cv.
WARP_RELATIVE_MAP: InterpolationFlagsValue<32>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.