Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Math

performs math operations per pixel on images, like add, subtract, divide, addWeighted and multiply

Hierarchy

Implements

Index

Constructors

constructor

  • new Math(defaultOptions?: T): Math

Properties

Protected Optional defaultOptions

defaultOptions: T

description

description: string = `performs math operations per pixel on images, like add, subtract, divide, addWeighted and multiply`

isInPlace

isInPlace: boolean = false

name

name: string = "Math"

noDst

noDst: boolean = false

noInPlace

noInPlace: boolean = false

Optional optionsOrder

optionsOrder: keyof T[]

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

  • validate(o: MathOptions): undefined | "alpha, beta, gamma and src2 must be defined"

Generated using TypeDoc