Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Pyr

Performs pyramid up or down on an image. PyrUp up samples an image and then blurs it. PyrDown blurs an image and down samples it. By default, size of the output image is computed as Size((src.cols+1)/2, (src.rows+1)/2), but in any case, the following conditions should be satisfied: |𝚍𝚜𝚝𝚜𝚒𝚣𝚎.𝚠𝚒𝚍𝚝𝚑∗2−src.cols|≤2|𝚍𝚜𝚝𝚜𝚒𝚣𝚎.𝚑𝚎𝚒𝚐𝚑𝚝∗2−src.rows|≤2

Hierarchy

Implements

Index

Constructors

constructor

  • new Pyr(defaultOptions?: T): Pyr

Properties

Protected Optional defaultOptions

defaultOptions: T

description

description: string = ` Performs pyramid up or down on an image. PyrUp up samples an image and then blurs it. PyrDown blurs an image and down samples it. By default, size of the output image is computed as 'Size((src.cols+1)/2, (src.rows+1)/2)', but in any case, the following conditions should be satisfied: '|𝚍𝚜𝚝𝚜𝚒𝚣𝚎.𝚠𝚒𝚍𝚝𝚑∗2−src.cols|≤2|𝚍𝚜𝚝𝚜𝚒𝚣𝚎.𝚑𝚎𝚒𝚐𝚑𝚝∗2−src.rows|≤2'.`

isInPlace

isInPlace: boolean = false

name

name: string = "Pyr"

noDst

noDst: boolean = false

noInPlace

noInPlace: boolean = false

optionsOrder

optionsOrder: ("dst" | "src" | "type" | "borderType" | "size")[] = ['src', 'dst', 'type', 'size', 'bordertype'] as (keyof PyrOptions)[]

sameSizeAndType

sameSizeAndType: boolean = false

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