Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: DetectLine

[79:7] extends: object

DetectLine wraps boofcv.abst.feature.detect.line.DetectLine.

Members

  • obj

Methods

  • DetectLine (object Obj)

    Wraps a BoofCV DetectLine.

    • @p Obj is an existing detector Java object or wrapper.
  • detect (object Input)

    Detects lines in an image.

    • @p Input is the input gray image.
    • @r A Java list of LineParametric2D_F32 objects.
  • getInputType ()

    Gets the detector input type.

    • @r The BoofCV ImageType.

class: ConfigParamPolar

[265:7] extends: object

ConfigParamPolar wraps boofcv.factory.feature.detect.line.ConfigParamPolar.

Members

  • obj

Methods

  • ConfigParamPolar (ResolutionRange = 2.0, int NumBinsAngle = 180)

    Creates a Hough polar parameter config.

    • @p ResolutionRange is the distance resolution.
    • @p NumBinsAngle is the number of angle bins.
  • get (string Name)

    Gets a public config field.

    • @p Name is resolutionRange or numBinsAngle.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is resolutionRange or numBinsAngle.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: ConfigEdgeThreshold

[294:7] extends: object

ConfigEdgeThreshold wraps boofcv.factory.feature.detect.line.ConfigEdgeThreshold.

Members

  • obj

Methods

  • ConfigEdgeThreshold ()

    Creates an edge threshold config.

  • get (string Name)

    Gets a public config field.

    • @p Name is gradient, threshold, or nonMax.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is gradient, threshold, or nonMax.
    • @p Value is the new field value.
  • setGradient (string Name)

    Sets the gradient enum field.

    • @p Name is a DerivativeType enum name such as SOBEL, PREWITT, THREE, TWO_0, TWO_1, or GAUSSIAN.
  • checkValidity ()

    Validates this config.

class: ConfigHoughGradient

[120:7] extends: object

ConfigHoughGradient wraps boofcv.factory.feature.detect.line.ConfigHoughGradient.

Members

  • obj

Methods

  • ConfigHoughGradient (int LocalMaxRadius = 5)

    Creates a gradient Hough config.

  • get (string Name)

    Gets a public config field.

    • @p Name is a field such as localMaxRadius, minCounts, minDistanceFromOrigin, maxLines, mergeAngle, mergeDistance, refineRadius, or edgeThreshold.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is a field such as localMaxRadius, minCounts, minDistanceFromOrigin, maxLines, mergeAngle, mergeDistance, refineRadius, or edgeThreshold.
    • @p Value is the new field value.
  • setMaxLines (int MaxLines)

    Sets maxLines.

    • @p MaxLines is the maximum number of returned lines.
  • checkValidity ()

    Validates this config.

class: FactoryDetectLine

[6:14] static extends: object

Static wrappers for boofcv.factory.feature.detect.line.FactoryDetectLine.

Methods

  • lineRansac (object Config, string ImageClassName)

    Creates a line segment detector using RANSAC.

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

    Creates a Hough foot detector using subimages.

    • @p Config is a ConfigHoughFootSubimage wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DetectLine wrapper.
  • houghLineFoot (object Config, object Param, string ImageClassName)

    Creates a gradient Hough foot detector.

    • @p Config is a ConfigHoughGradient wrapper.
    • @p Param is a ConfigParamFoot wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DetectLine wrapper.
  • houghLinePolarGradient (object Config, object Param, string ImageClassName)

    Creates a gradient Hough polar detector.

    • @p Config is a ConfigHoughGradient wrapper.
    • @p Param is a ConfigParamPolar wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DetectLine wrapper.
  • houghLinePolarBinary (object Config, object Param, string ImageClassName)

    Creates a binary Hough polar detector.

    • @p Config is a ConfigHoughBinary wrapper.
    • @p Param is a ConfigParamPolar wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DetectLine wrapper.

class: ConfigHoughBinary

[152:7] extends: object

ConfigHoughBinary wraps boofcv.factory.feature.detect.line.ConfigHoughBinary.

Members

  • obj

Methods

  • ConfigHoughBinary ()

    Creates a binary Hough config.

  • get (string Name)

    Gets a public config field.

    • @p Name is a field such as binarization, thresholdImage, thresholdEdge, localMaxRadius, minCounts, maxLines, mergeAngle, or mergeDistance.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is a field such as binarization, thresholdImage, thresholdEdge, localMaxRadius, minCounts, maxLines, mergeAngle, or mergeDistance.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: ConfigParamFoot

[233:7] extends: object

ConfigParamFoot wraps boofcv.factory.feature.detect.line.ConfigParamFoot.

Members

  • obj

Methods

  • ConfigParamFoot ()

    Creates a Hough foot parameter config.

  • get (string Name)

    Gets a public config field.

    • @p Name is minDistanceFromOrigin.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is minDistanceFromOrigin.
    • @p Value is the new field value.
  • setMinDistanceFromOrigin (int MinDistanceFromOrigin)

    Sets minDistanceFromOrigin.

    • @p MinDistanceFromOrigin is the minimum distance from image origin.
  • checkValidity ()

    Validates this config.

class: ConfigLineRansac

[206:7] extends: object

ConfigLineRansac wraps boofcv.factory.feature.detect.line.ConfigLineRansac.

Members

  • obj

Methods

  • ConfigLineRansac ()

    Creates a line RANSAC config.

  • get (string Name)

    Gets a public config field.

    • @p Name is one of regionSize, thresholdEdge, thresholdAngle, or connectLines.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is one of regionSize, thresholdEdge, thresholdAngle, or connectLines.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: ConfigHoughFootSubimage

[179:7] extends: object

ConfigHoughFootSubimage wraps boofcv.factory.feature.detect.line.ConfigHoughFootSubimage.

Members

  • obj

Methods

  • ConfigHoughFootSubimage ()

    Creates a Hough foot subimage config.

  • get (string Name)

    Gets a public config field.

    • @p Name is a field such as localMaxRadius, minCounts, minDistanceFromOrigin, thresholdEdge, maxLines, totalHorizontalDivisions, or totalVerticalDivisions.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is a field such as localMaxRadius, minCounts, minDistanceFromOrigin, thresholdEdge, maxLines, totalHorizontalDivisions, or totalVerticalDivisions.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: DetectLineSegment

[102:7] extends: object

DetectLineSegment wraps boofcv.abst.feature.detect.line.DetectLineSegment.

Members

  • obj

Methods

  • DetectLineSegment (object Obj)

    Wraps a BoofCV DetectLineSegment.

    • @p Obj is an existing detector Java object or wrapper.
  • detect (object Input)

    Detects line segments in an image.

    • @p Input is the input gray image.
    • @r A Java list of LineSegment2D_F32 objects.