Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: BinaryImageOps

[67:14] static extends: object

Static wrappers for boofcv.alg.filter.binary.BinaryImageOps.

Methods

  • logicAnd (object A, object B, object Output)

    Computes logical AND between two binary images.

    • @p A is the first GrayU8 binary image.
    • @p B is the second GrayU8 binary image.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • logicOr (object A, object B, object Output)

    Computes logical OR between two binary images.

    • @p A is the first GrayU8 binary image.
    • @p B is the second GrayU8 binary image.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • logicXor (object A, object B, object Output)

    Computes logical XOR between two binary images.

    • @p A is the first GrayU8 binary image.
    • @p B is the second GrayU8 binary image.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • invert (object Input, object Output)

    Inverts a binary image.

    • @p Input is a GrayU8 binary image.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • erode4 (object Input, int NumTimes, object Output)

    Erodes a binary image using a 4-connected rule.

    • @p Input is a GrayU8 binary image.
    • @p NumTimes is the number of erosion iterations.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • dilate4 (object Input, int NumTimes, object Output)

    Dilates a binary image using a 4-connected rule.

    • @p Input is a GrayU8 binary image.
    • @p NumTimes is the number of dilation iterations.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • edge4 (object Input, object Output, bool OutsideZero)

    Extracts 4-connected binary edges.

    • @p Input is a GrayU8 binary image.
    • @p Output is the output GrayU8 image.
    • @p OutsideZero controls the outside-image value.
    • @r The output image Java object returned by BoofCV.
  • erode8 (object Input, int NumTimes, object Output)

    Erodes a binary image using an 8-connected rule.

    • @p Input is a GrayU8 binary image.
    • @p NumTimes is the number of erosion iterations.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • dilate8 (object Input, int NumTimes, object Output)

    Dilates a binary image using an 8-connected rule.

    • @p Input is a GrayU8 binary image.
    • @p NumTimes is the number of dilation iterations.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • edge8 (object Input, object Output, bool OutsideZero)

    Extracts 8-connected binary edges.

    • @p Input is a GrayU8 binary image.
    • @p Output is the output GrayU8 image.
    • @p OutsideZero controls the outside-image value.
    • @r The output image Java object returned by BoofCV.
  • removePointNoise (object Input, object Output)

    Removes point noise from a binary image.

    • @p Input is a GrayU8 binary image.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • thin (object Input, int MaxIterations, object Output)

    Applies binary thinning.

    • @p Input is a GrayU8 binary image.
    • @p MaxIterations is the maximum thinning iterations.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • contour (object Input, string RuleName, object LabelImage)

    Finds binary contours.

    • @p Input is a GrayU8 binary image.
    • @p RuleName is FOUR or EIGHT.
    • @p LabelImage is a GrayS32 label image.
    • @r A list of Contour Java objects.
  • contourExternal (object Input, string RuleName)

    Finds external binary contours.

    • @p Input is a GrayU8 binary image.
    • @p RuleName is FOUR or EIGHT.
    • @r A list of Contour Java objects.
  • relabel (object LabelImage, object Labels)

    Relabels a labeled image.

    • @p LabelImage is a GrayS32 label image.
    • @p Labels is a Java int array or compatible object.
  • labelToBinary (object LabelImage, object Output)

    Converts a label image to a binary image.

    • @p LabelImage is a GrayS32 label image.
    • @p Output is the output GrayU8 image.
    • @r The output image Java object returned by BoofCV.
  • labelToClusters (object LabelImage, int NumLabels, Workspace = null)

    Converts a label image to point clusters.

    • @p LabelImage is a GrayS32 label image.
    • @p NumLabels is the number of labels.
    • @p Workspace is a DogArray workspace or null.
    • @r A list of point clusters.
  • selectRandomColors (int NumColors, Random = null)

    Selects random RGB colors.

    • @p NumColors is the number of colors.
    • @p Random is a java.util.Random object or null.
    • @r A Java int array of RGB colors.

class: ConnectRule

[6:14] static extends: object

Static wrappers for the boofcv.struct.ConnectRule enum.

Methods

  • valueOf (string Name)

    Returns a BoofCV ConnectRule enum by name.

    • @p Name is FOUR or EIGHT.
    • @r An AussomJavaObject wrapping boofcv.struct.ConnectRule.

class: Contour

[20:7] extends: object

Contour wraps boofcv.alg.filter.binary.Contour.

Members

  • obj

Methods

  • Contour (Obj = null)

    Creates a contour or wraps an existing contour object.

    • @p Obj is an existing Contour Java object or wrapper, or null to create a new contour.
  • getExternal ()

    Gets the external contour points.

    • @r A list of Point2D_I32 Java objects.
  • getInternal ()

    Gets the internal contour point lists.

    • @r A list of internal contour point lists.
  • reset ()

    Resets this contour.

  • copy ()

    Copies this contour.

    • @r A Contour wrapper around the copy.