Canny edge detection

Constructors

Properties

Methods

Constructors

  • Parameters

    • th1: number

      Big threshold

    • th2: number

      Small threshold

    Returns Canny

Properties

_bigth: number
_smlth: number

Methods

  • Parameters

    • x: any
    • kernel: any

    Returns any[][]

  • Parameters

    • x: any

    Returns any[][]

  • Returns predicted edge flags.

    Parameters

    • x: number[][]

      Training data

    Returns boolean[][]

    Predicted values. true if a pixel is edge.