@ai-on-browser/data-analysis-models
    Preparing search index...

    Class Laplacian

    Laplacian edge detection

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • th: number

        Threshold

      • Optionaln: 4 | 8

        Number of neighborhoods

      Returns Laplacian

    Properties

    _n: 4 | 8
    _threshold: number

    Methods

    • Parameters

      • x: any
      • kernel: any

      Returns any[][]

    • Returns predicted edge flags.

      Parameters

      • x: number[][]

        Training data

      Returns boolean[][]

      Predicted values. true if a pixel is edge.