Basics
Guides
API Reference
Basics
Guides
API Reference
[110:7] extends: object
DetectPolygonFromContour wraps boofcv.alg.shapes.polygon.DetectPolygonFromContour.
DetectPolygonFromContour (object Obj)
Wraps a BoofCV DetectPolygonFromContour.
Obj is an existing detector Java object or wrapper.process (object Image, object Binary)
Processes a gray image and binary image.
Image is the source gray image.Binary is the binary image.getFoundInfo ()
Gets found polygon info.
A DogArray of detector info objects.getInputType ()
Gets the input image class.
A Java Class object.setNumberOfSides (int Minimum, int Maximum)
Sets the minimum and maximum side counts.
Minimum is the minimum number of sides.Maximum is the maximum number of sides.getMinimumSides ()
Gets the minimum number of polygon sides.
The minimum side count.getMaximumSides ()
Gets the maximum number of polygon sides.
The maximum side count.getAllContours ()
Gets all binary contours found during processing.
A Java list of contours.[264:7] extends: object
ConfigEllipseDetector wraps boofcv.factory.shape.ConfigEllipseDetector.
ConfigEllipseDetector ()
Creates an ellipse detector config.
get (string Name)
Gets a public config field.
Name is a field such as maxDistanceFromEllipse, minimumContour, maximumContour, contourRule, minimumMinorAxis, processInternal, maxIterations, convergenceTol, numSampleContour, refineRadialSamples, minimumEdgeIntensity, checkRadialDistance, or maxMajorToMinorRatio.The field value.set (string Name, Value)
Sets a public config field.
Name is a field such as maxDistanceFromEllipse, minimumContour, maximumContour, contourRule, processInternal, maxIterations, convergenceTol, numSampleContour, refineRadialSamples, minimumEdgeIntensity, checkRadialDistance, or maxMajorToMinorRatio.Value is the new field value.checkValidity ()
Validates this config.
[208:7] extends: object
ConfigPolygonDetector wraps boofcv.factory.shape.ConfigPolygonDetector.
ConfigPolygonDetector ()
Creates a polygon detector config.
get (string Name)
Gets a public config field.
Name is a field such as detector, minimumRefineEdgeIntensity, refineContour, adjustForThresholdBias, or refineGray.The field value.set (string Name, Value)
Sets a public config field.
Name is a field such as detector, minimumRefineEdgeIntensity, refineContour, adjustForThresholdBias, or refineGray.Value is the new field value.checkValidity ()
Validates this config.
[60:7] extends: object
DetectPolygonBinaryGrayRefine wraps boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine.
DetectPolygonBinaryGrayRefine (object Obj)
Wraps a BoofCV DetectPolygonBinaryGrayRefine.
Obj is an existing detector Java object or wrapper.process (object Image, object Binary)
Processes a gray image and binary image.
Image is the source gray image.Binary is the binary image.getPolygons (Polygons = null, Infos = null)
Gets refined polygons.
Polygons is a Java list or null.Infos is a Java list or null.A Java list of Polygon2D_F64 objects.getPolygonInfo ()
Gets polygon info records.
A Java list of detector info objects.getInputType ()
Gets the input image class.
A Java Class object.getMinimumSides ()
Gets the minimum number of polygon sides.
The minimum side count.getMaximumSides ()
Gets the maximum number of polygon sides.
The maximum side count.getAllContours ()
Gets all binary contours found during processing.
A Java list of contours.[291:7] extends: object
ConfigRefinePolygonLineToImage wraps boofcv.factory.shape.ConfigRefinePolygonLineToImage.
ConfigRefinePolygonLineToImage ()
Creates a polygon-to-image refinement config.
get (string Name)
Gets a public config field.
Name is a field such as cornerOffset, lineSamples, sampleRadius, maxIterations, convergeTolPixels, or maxCornerChangePixel.The field value.set (string Name, Value)
Sets a public config field.
Name is a field such as cornerOffset, lineSamples, sampleRadius, maxIterations, convergeTolPixels, or maxCornerChangePixel.Value is the new field value.checkValidity ()
Validates this config.
[235:7] extends: object
ConfigPolygonFromContour wraps boofcv.factory.shape.ConfigPolygonFromContour.
ConfigPolygonFromContour (int MinimumSides = 3, int MaximumSides = 8)
Creates a polygon-from-contour config.
MinimumSides is the minimum number of sides.MaximumSides is the maximum number of sides.get (string Name)
Gets a public config field.
Name is a field such as canTouchBorder, contourRule, contourToPoly, minimumEdgeIntensity, tangentEdgeIntensity, minimumContour, maximumContour, or clockwise.The field value.set (string Name, Value)
Sets a public config field.
Name is a field such as canTouchBorder, contourRule, contourToPoly, minimumEdgeIntensity, tangentEdgeIntensity, minimumContour, maximumContour, or clockwise.Value is the new field value.checkValidity ()
Validates this config.
[6:14] static extends: object
Static wrappers for boofcv.factory.shape.FactoryShapeDetector.
polygon (object Config, string ImageClassName)
Creates a binary polygon detector with gray refinement.
Config is a ConfigPolygonDetector wrapper.ImageClassName is an input gray image class name or short image name.A DetectPolygonBinaryGrayRefine wrapper.polygonContour (object Config, string ImageClassName)
Creates a polygon detector from contours.
Config is a ConfigPolygonFromContour wrapper.ImageClassName is an input gray image class name or short image name.A DetectPolygonFromContour wrapper.ellipse (object Config, string ImageClassName)
Creates an ellipse detector.
Config is a ConfigEllipseDetector wrapper.ImageClassName is an input gray image class name or short image name.A BinaryEllipseDetector wrapper.refinePolygon (object Config, string ImageClassName)
Creates a polygon refinement algorithm.
Config is a ConfigRefinePolygonLineToImage wrapper.ImageClassName is an input gray image class name or short image name.The BoofCV RefinePolygonToGray Java object.[159:7] extends: object
BinaryEllipseDetector wraps boofcv.alg.shapes.ellipse.BinaryEllipseDetector.
BinaryEllipseDetector (object Obj)
Wraps a BoofCV BinaryEllipseDetector.
Obj is an existing detector Java object or wrapper.process (object Image, object Binary)
Processes a gray image and binary image.
Image is the source gray image.Binary is the binary image.getFoundEllipses (Storage = null)
Gets found ellipses.
Storage is a Java list or null.A Java list of EllipseRotated_F64 objects.getFound ()
Gets the raw found ellipse info.
A DogArray of ellipse info objects.getInputType ()
Gets the input image class.
A Java Class object.isAutoRefine ()
Gets whether auto-refinement is enabled.
True if enabled.setAutoRefine (bool AutoRefine)
Sets whether auto-refinement is enabled.
AutoRefine true enables auto-refinement.getAllContours ()
Gets all binary contours found during processing.
A Java list of contours.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.