Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Filter2D

Convolves an image with the kernel. The function applies an arbitrary linear filter to an image. In-place operation is supported. When the aperture is partially outside the image, the function interpolates outlier pixel values according to the specified border mode

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected Optional defaultOptions

defaultOptions: T

description

description: string = `Convolves an image with the kernel. The function applies an arbitrary linear filter to an image. In-place operation is supported. When the aperture is partially outside the image, the function interpolates outlier pixel values according to the specified border mode`

isInPlace

isInPlace: boolean = false

name

name: string = "Filter2D"

noDst

noDst: boolean = false

noInPlace

noInPlace: boolean = false

optionsOrder

optionsOrder: ("dst" | "src" | "borderType" | "anchor" | "ddepth" | "delta" | "kernel")[] = ['src', 'dst', 'ddepth', 'kernel', 'anchor', 'delta', 'borderType'] as (keyof Filter2DOptions)[]

sameSizeAndType

sameSizeAndType: boolean = true

validChannels

validChannels: number[] | undefined = undefined

Protected validateEachExec

validateEachExec: boolean = false

Protected validated

validated: boolean = false

Methods

Protected _exec

Protected afterExec

Protected allChannels

Protected checkDst

Protected checkInPlaceAfter

Protected checkInPlaceBefore

Protected checkInputImage

Protected checkOptions

  • checkOptions(o?: T): T

exec

resolveOptionsObject

Protected validate

Generated using TypeDoc