oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Hough Transform

Functions

static Array< Line2Doevislib_net.ComputerVision.HoughTransform.HoughTransform.FindHoughLines (Image inImage, Optional< Region > inRoi=null, float inMinEdgeThreshold=60.0f, float inMaxEdgeThreshold=80.0f, float inAngleResolution=1.0f, float inMinGap=20.0f, float inMinScore=100.0f, Optional< Array< float > > outScores=null, Optional< Image > outThresholdedImage=null)
 Finds lines in the provided image using the Hough Transform algorithm.
static Array< Circle2Doevislib_net.ComputerVision.HoughTransform.HoughTransform.FindHoughCircles (Image inImage, Optional< Region > inRoi=null, float inMinRadius=50.0f, float inMaxRadius=100.0f, float inMinDistance=100.0f, float inMinScore=10.0f, float inEdgeThreshold=50.0f, Optional< Array< float > > outScores=null)
 Finds circles in the provided image using the Hough Transform algorithm.
static Array< Segment2Doevislib_net.ComputerVision.HoughTransform.HoughTransform.FindHoughSegments (Image inImage, Optional< Region > inRoi=null, float inMinEdgeThreshold=60.0f, float inMaxEdgeThreshold=80.0f, float inAngleResolution=1.0f, float inMinLength=20.0f, float inMinScore=20.0f, Optional< Image > outThresholdedImage=null)
 Finds segments in the provided image using the Hough Transform algorithm.

Detailed Description

Function Documentation

◆ FindHoughCircles()

Array< Circle2D > oevislib_net.ComputerVision.HoughTransform.HoughTransform.FindHoughCircles ( Image inImage,
Optional< Region > inRoi = null,
float inMinRadius = 50::0f,
float inMaxRadius = 100::0f,
float inMinDistance = 100::0f,
float inMinScore = 10::0f,
float inEdgeThreshold = 50::0f,
Optional< Array< float > > outScores = null )
inlinestatic

Finds circles in the provided image using the Hough Transform algorithm.

Parameters
inImageInput image. The image type must be UInt8.
inRoiRegion of the image considered by the algorithm.
inMinRadiusMinimum value of the circle radius. The value must be in range [0, +inf].
inMaxRadiusMaximum value of the circle radius. The value must be in range [0, +inf].
inMinDistanceMinium distance between circles center. The value must be in range [0.01, +inf].
inMinScoreCircles that receive a lower score from the algorithm will be neglected. The value must be in range [0, +inf].
inEdgeThresholdThreshold applied to the image before being passed to the Hough algorithm.
outScoresScores assigned by the algorithm to the respective output circle.
Returns
Array with all the circles found by the algorithm.

◆ FindHoughLines()

Array< Line2D > oevislib_net.ComputerVision.HoughTransform.HoughTransform.FindHoughLines ( Image inImage,
Optional< Region > inRoi = null,
float inMinEdgeThreshold = 60::0f,
float inMaxEdgeThreshold = 80::0f,
float inAngleResolution = 1::0f,
float inMinGap = 20::0f,
float inMinScore = 100::0f,
Optional< Array< float > > outScores = null,
Optional< Image > outThresholdedImage = null )
inlinestatic

Finds lines in the provided image using the Hough Transform algorithm.

Parameters
inImageInput image. The image type must be UInt8.
inRoiRegion of the image considered by the algorithm.
inMinEdgeThresholdLower edge intensity threshold. Range [0, +inf].
inMaxEdgeThresholdHigher edge intensity threshold. Range [0, +inf].
inAngleResolutionResolution of the lines' orientation [deg]. The value must be in range [0.01, 180].
inMinGapMinimum distance between two lines. The value must be in range [0, +inf].
inMinScoreLines that receive a lower score from the algorithm will be neglected. The value must be in range [0, +inf].
outScoresScores assigned by the algorithm to the respective output circle.
outThresholdedImageThe image used from the Hough algorithm, obtained after the application of the thresholding process.
Returns
Array with all the lines found by the algorithm.

◆ FindHoughSegments()

Array< Segment2D > oevislib_net.ComputerVision.HoughTransform.HoughTransform.FindHoughSegments ( Image inImage,
Optional< Region > inRoi = null,
float inMinEdgeThreshold = 60::0f,
float inMaxEdgeThreshold = 80::0f,
float inAngleResolution = 1::0f,
float inMinLength = 20::0f,
float inMinScore = 20::0f,
Optional< Image > outThresholdedImage = null )
inlinestatic

Finds segments in the provided image using the Hough Transform algorithm.

Parameters
inImageInput image. The image type must be UInt8.
inRoiRegion of the image considered by the algorithm.
inMinEdgeThresholdLower edge intensity threshold. Range [0, +inf].
inMaxEdgeThresholdHigher edge intensity threshold. Range [0, +inf].
inAngleResolutionResolution of the lines' orientation [deg]. Range [0.01, 180].
inMinLengthSegments shorter than this value will be neglected. Range [0, +inf].
inMinScoreSegments that receive a lower score from the algorithm will be neglected. The value must be in range [0, +inf].
outThresholdedImageThe input image after the application of the thresholding process.
Returns
Array with all the segments found by the algorithm.