Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Const addPoints

Const arePointsEqual

Const contourLength

  • contourLength(contour: Contour): number

Const getLongesOuterContourOfRegions

  • getLongesOuterContourOfRegions(regions: BinaryRegion[]): Contour
  • Find region with longest outer contour and return its outer contour.

    Parameters

    • regions: BinaryRegion[]

      Array of binary regions

    Returns Contour

    Outer contour of region with longest outer contour.

Const regionLabeling

  • regionLabeling(image: Tensor2D): [BinaryRegion[], Tensor2D]
  • Detect blob regions and their inner and outer contours See W. Burger Digital Image Processing An Algorithmic Introduction - p. 220 for detailed describtion.

    Parameters

    • image: Tensor2D

      Input image

    Returns [BinaryRegion[], Tensor2D]

    The sets of outer and inner contours and a label map.

Const subtractPoints

Generated using TypeDoc