Properties
Protected Optional defaultOptions
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
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