class: DetectPolygonFromContour
[126:7] extends: object
DetectPolygonFromContour wraps boofcv.alg.shapes.polygon.DetectPolygonFromContour.
Members
- obj
Methods
-
DetectPolygonFromContour (
object Obj)Wraps a BoofCV DetectPolygonFromContour.
- @p
Objis an existing detector Java object or wrapper.
- @p
-
process (
object Image, object Binary)Processes a gray image and binary image.
- @p
Imageis the source gray image. - @p
Binaryis the binary image.
- @p
-
getFoundInfo ()
Gets found polygon info.
- @r
ADogArray of detector info objects.
- @r
-
getInputType ()
Gets the input image class.
- @r
AJava Class object.
- @r
-
setNumberOfSides (
int Minimum, int Maximum)Sets the minimum and maximum side counts.
- @p
Minimumis the minimum number of sides. - @p
Maximumis the maximum number of sides.
- @p
-
getMinimumSides ()
Gets the minimum number of polygon sides.
- @r
Theminimum side count.
- @r
-
getMaximumSides ()
Gets the maximum number of polygon sides.
- @r
Themaximum side count.
- @r
-
getAllContours ()
Gets all binary contours found during processing.
- @r
AJava list of contours.
- @r
class: ConfigEllipseDetector
[280: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
Nameis a field such as maxDistanceFromEllipse, minimumContour, maximumContour, contourRule, minimumMinorAxis, processInternal, maxIterations, convergenceTol, numSampleContour, refineRadialSamples, minimumEdgeIntensity, checkRadialDistance, or maxMajorToMinorRatio. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis a field such as maxDistanceFromEllipse, minimumContour, maximumContour, contourRule, processInternal, maxIterations, convergenceTol, numSampleContour, refineRadialSamples, minimumEdgeIntensity, checkRadialDistance, or maxMajorToMinorRatio. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: ConfigPolygonDetector
[224: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
Nameis a field such as detector, minimumRefineEdgeIntensity, refineContour, adjustForThresholdBias, or refineGray. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis a field such as detector, minimumRefineEdgeIntensity, refineContour, adjustForThresholdBias, or refineGray. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: DetectPolygonBinaryGrayRefine
[76:7] extends: object
DetectPolygonBinaryGrayRefine wraps boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine.
Members
- obj
Methods
-
DetectPolygonBinaryGrayRefine (
object Obj)Wraps a BoofCV DetectPolygonBinaryGrayRefine.
- @p
Objis an existing detector Java object or wrapper.
- @p
-
process (
object Image, object Binary)Processes a gray image and binary image.
- @p
Imageis the source gray image. - @p
Binaryis the binary image.
- @p
-
getPolygons (
Polygons = null, Infos = null)Gets refined polygons.
- @p
Polygonsis a Java list or null. - @p
Infosis a Java list or null. - @r
AJava list of Polygon2D_F64 objects.
- @p
-
getPolygonInfo ()
Gets polygon info records.
- @r
AJava list of detector info objects.
- @r
-
getInputType ()
Gets the input image class.
- @r
AJava Class object.
- @r
-
getMinimumSides ()
Gets the minimum number of polygon sides.
- @r
Theminimum side count.
- @r
-
getMaximumSides ()
Gets the maximum number of polygon sides.
- @r
Themaximum side count.
- @r
-
getAllContours ()
Gets all binary contours found during processing.
- @r
AJava list of contours.
- @r
class: ConfigRefinePolygonLineToImage
[307: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
Nameis a field such as cornerOffset, lineSamples, sampleRadius, maxIterations, convergeTolPixels, or maxCornerChangePixel. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis a field such as cornerOffset, lineSamples, sampleRadius, maxIterations, convergeTolPixels, or maxCornerChangePixel. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: ConfigPolygonFromContour
[251: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
MinimumSidesis the minimum number of sides. - @p
MaximumSidesis the maximum number of sides.
- @p
-
get (
string Name)Gets a public config field.
- @p
Nameis a field such as canTouchBorder, contourRule, contourToPoly, minimumEdgeIntensity, tangentEdgeIntensity, minimumContour, maximumContour, or clockwise. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis a field such as canTouchBorder, contourRule, contourToPoly, minimumEdgeIntensity, tangentEdgeIntensity, minimumContour, maximumContour, or clockwise. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: FactoryShapeDetector
[22: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
Configis a ConfigPolygonDetector wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
ADetectPolygonBinaryGrayRefine wrapper.
- @p
-
polygonContour (
object Config, string ImageClassName)Creates a polygon detector from contours.
- @p
Configis a ConfigPolygonFromContour wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
ADetectPolygonFromContour wrapper.
- @p
-
ellipse (
object Config, string ImageClassName)Creates an ellipse detector.
- @p
Configis a ConfigEllipseDetector wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
ABinaryEllipseDetector wrapper.
- @p
-
refinePolygon (
object Config, string ImageClassName)Creates a polygon refinement algorithm.
- @p
Configis a ConfigRefinePolygonLineToImage wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
TheBoofCV RefinePolygonToGray Java object.
- @p
class: BinaryEllipseDetector
[175:7] extends: object
BinaryEllipseDetector wraps boofcv.alg.shapes.ellipse.BinaryEllipseDetector.
Members
- obj
Methods
-
BinaryEllipseDetector (
object Obj)Wraps a BoofCV BinaryEllipseDetector.
- @p
Objis an existing detector Java object or wrapper.
- @p
-
process (
object Image, object Binary)Processes a gray image and binary image.
- @p
Imageis the source gray image. - @p
Binaryis the binary image.
- @p
-
getFoundEllipses (
Storage = null)Gets found ellipses.
- @p
Storageis a Java list or null. - @r
AJava list of EllipseRotated_F64 objects.
- @p
-
getFound ()
Gets the raw found ellipse info.
- @r
ADogArray of ellipse info objects.
- @r
-
getInputType ()
Gets the input image class.
- @r
AJava Class object.
- @r
-
isAutoRefine ()
Gets whether auto-refinement is enabled.
- @r
Trueif enabled.
- @r
-
setAutoRefine (
bool AutoRefine)Sets whether auto-refinement is enabled.
- @p
AutoRefinetrue enables auto-refinement.
- @p
-
getAllContours ()
Gets all binary contours found during processing.
- @r
AJava list of contours.
- @r