Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Canny

finds edges in the input image and marks them in the output map edges using the Canny algorithm. The smallest value between threshold1 and threshold2 is used for edge linking. The largest value is used to find initial segments of strong edges

Hierarchy

Implements

Index

Constructors

constructor

  • new Canny(defaultOptions?: T): Canny

Properties

Protected Optional defaultOptions

defaultOptions: T

description

description: string = "finds edges in the input image and marks them in the output map edges using the Canny algorithm. The smallest value between threshold1 and threshold2 is used for edge linking. The largest value is used to find initial segments of strong edges"

isInPlace

isInPlace: boolean = false

name

name: string = "Canny"

noDst

noDst: boolean = false

noInPlace

noInPlace: boolean = true

optionsOrder

optionsOrder: ("dst" | "src" | "threshold1" | "threshold2" | "apertureSize" | "L2gradient" | "channels")[] = ['src', 'dst', 'threshold1', 'threshold2', 'apertureSize', 'L2gradient'] as (keyof CannyOptions)[]

sameSizeAndType

sameSizeAndType: boolean = false

validChannels

validChannels: number[] | undefined = undefined

Protected validateEachExec

validateEachExec: boolean = false

Protected validated

validated: boolean = false

Methods

Protected _exec

Protected _execOne

Protected afterExec

Protected allChannels

Protected checkDst

Protected checkInPlaceAfter

Protected checkInPlaceBefore

Protected checkInputImage

Protected checkOptions

  • checkOptions(o?: T): T

exec

resolveOptionsObject

Protected validate

  • validate(o: CannyOptions): undefined | "Aperture size must be odd and greater than 2"

Generated using TypeDoc