Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: DetectPolygonFromContour

[110:7] extends: object

DetectPolygonFromContour wraps boofcv.alg.shapes.polygon.DetectPolygonFromContour.

Members

  • obj

Methods

  • DetectPolygonFromContour (object Obj)

    Wraps a BoofCV DetectPolygonFromContour.

    • @p Obj is an existing detector Java object or wrapper.
  • process (object Image, object Binary)

    Processes a gray image and binary image.

    • @p Image is the source gray image.
    • @p Binary is the binary image.
  • getFoundInfo ()

    Gets found polygon info.

    • @r A DogArray of detector info objects.
  • getInputType ()

    Gets the input image class.

    • @r A Java Class object.
  • setNumberOfSides (int Minimum, int Maximum)

    Sets the minimum and maximum side counts.

    • @p Minimum is the minimum number of sides.
    • @p Maximum is the maximum number of sides.
  • getMinimumSides ()

    Gets the minimum number of polygon sides.

    • @r The minimum side count.
  • getMaximumSides ()

    Gets the maximum number of polygon sides.

    • @r The maximum side count.
  • getAllContours ()

    Gets all binary contours found during processing.

    • @r A Java list of contours.

class: ConfigEllipseDetector

[264:7] extends: object

ConfigEllipseDetector wraps boofcv.factory.shape.ConfigEllipseDetector.

Members

  • obj

Methods

  • ConfigEllipseDetector ()

    Creates an ellipse detector config.

  • get (string Name)

    Gets a public config field.

    • @p Name is a field such as maxDistanceFromEllipse, minimumContour, maximumContour, contourRule, minimumMinorAxis, processInternal, maxIterations, convergenceTol, numSampleContour, refineRadialSamples, minimumEdgeIntensity, checkRadialDistance, or maxMajorToMinorRatio.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is a field such as maxDistanceFromEllipse, minimumContour, maximumContour, contourRule, processInternal, maxIterations, convergenceTol, numSampleContour, refineRadialSamples, minimumEdgeIntensity, checkRadialDistance, or maxMajorToMinorRatio.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: ConfigPolygonDetector

[208:7] extends: object

ConfigPolygonDetector wraps boofcv.factory.shape.ConfigPolygonDetector.

Members

  • obj

Methods

  • ConfigPolygonDetector ()

    Creates a polygon detector config.

  • get (string Name)

    Gets a public config field.

    • @p Name is a field such as detector, minimumRefineEdgeIntensity, refineContour, adjustForThresholdBias, or refineGray.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is a field such as detector, minimumRefineEdgeIntensity, refineContour, adjustForThresholdBias, or refineGray.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: DetectPolygonBinaryGrayRefine

[60:7] extends: object

DetectPolygonBinaryGrayRefine wraps boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine.

Members

  • obj

Methods

  • DetectPolygonBinaryGrayRefine (object Obj)

    Wraps a BoofCV DetectPolygonBinaryGrayRefine.

    • @p Obj is an existing detector Java object or wrapper.
  • process (object Image, object Binary)

    Processes a gray image and binary image.

    • @p Image is the source gray image.
    • @p Binary is the binary image.
  • getPolygons (Polygons = null, Infos = null)

    Gets refined polygons.

    • @p Polygons is a Java list or null.
    • @p Infos is a Java list or null.
    • @r A Java list of Polygon2D_F64 objects.
  • getPolygonInfo ()

    Gets polygon info records.

    • @r A Java list of detector info objects.
  • getInputType ()

    Gets the input image class.

    • @r A Java Class object.
  • getMinimumSides ()

    Gets the minimum number of polygon sides.

    • @r The minimum side count.
  • getMaximumSides ()

    Gets the maximum number of polygon sides.

    • @r The maximum side count.
  • getAllContours ()

    Gets all binary contours found during processing.

    • @r A Java list of contours.

class: ConfigRefinePolygonLineToImage

[291:7] extends: object

ConfigRefinePolygonLineToImage wraps boofcv.factory.shape.ConfigRefinePolygonLineToImage.

Members

  • obj

Methods

  • ConfigRefinePolygonLineToImage ()

    Creates a polygon-to-image refinement config.

  • get (string Name)

    Gets a public config field.

    • @p Name is a field such as cornerOffset, lineSamples, sampleRadius, maxIterations, convergeTolPixels, or maxCornerChangePixel.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is a field such as cornerOffset, lineSamples, sampleRadius, maxIterations, convergeTolPixels, or maxCornerChangePixel.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: ConfigPolygonFromContour

[235:7] extends: object

ConfigPolygonFromContour wraps boofcv.factory.shape.ConfigPolygonFromContour.

Members

  • obj

Methods

  • ConfigPolygonFromContour (int MinimumSides = 3, int MaximumSides = 8)

    Creates a polygon-from-contour config.

    • @p MinimumSides is the minimum number of sides.
    • @p MaximumSides is the maximum number of sides.
  • get (string Name)

    Gets a public config field.

    • @p Name is a field such as canTouchBorder, contourRule, contourToPoly, minimumEdgeIntensity, tangentEdgeIntensity, minimumContour, maximumContour, or clockwise.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is a field such as canTouchBorder, contourRule, contourToPoly, minimumEdgeIntensity, tangentEdgeIntensity, minimumContour, maximumContour, or clockwise.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: FactoryShapeDetector

[6:14] static extends: object

Static wrappers for boofcv.factory.shape.FactoryShapeDetector.

Methods

  • polygon (object Config, string ImageClassName)

    Creates a binary polygon detector with gray refinement.

    • @p Config is a ConfigPolygonDetector wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DetectPolygonBinaryGrayRefine wrapper.
  • polygonContour (object Config, string ImageClassName)

    Creates a polygon detector from contours.

    • @p Config is a ConfigPolygonFromContour wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DetectPolygonFromContour wrapper.
  • ellipse (object Config, string ImageClassName)

    Creates an ellipse detector.

    • @p Config is a ConfigEllipseDetector wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A BinaryEllipseDetector wrapper.
  • refinePolygon (object Config, string ImageClassName)

    Creates a polygon refinement algorithm.

    • @p Config is a ConfigRefinePolygonLineToImage wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r The BoofCV RefinePolygonToGray Java object.

class: BinaryEllipseDetector

[159:7] extends: object

BinaryEllipseDetector wraps boofcv.alg.shapes.ellipse.BinaryEllipseDetector.

Members

  • obj

Methods

  • BinaryEllipseDetector (object Obj)

    Wraps a BoofCV BinaryEllipseDetector.

    • @p Obj is an existing detector Java object or wrapper.
  • process (object Image, object Binary)

    Processes a gray image and binary image.

    • @p Image is the source gray image.
    • @p Binary is the binary image.
  • getFoundEllipses (Storage = null)

    Gets found ellipses.

    • @p Storage is a Java list or null.
    • @r A Java list of EllipseRotated_F64 objects.
  • getFound ()

    Gets the raw found ellipse info.

    • @r A DogArray of ellipse info objects.
  • getInputType ()

    Gets the input image class.

    • @r A Java Class object.
  • isAutoRefine ()

    Gets whether auto-refinement is enabled.

    • @r True if enabled.
  • setAutoRefine (bool AutoRefine)

    Sets whether auto-refinement is enabled.

    • @p AutoRefine true enables auto-refinement.
  • getAllContours ()

    Gets all binary contours found during processing.

    • @r A Java list of contours.