boofcv.factory.feature.detect.line
Class ConfigHoughPolar
- java.lang.Object
-
- boofcv.factory.feature.detect.line.ConfigHoughPolar
-
- All Implemented Interfaces:
- Configuration, java.io.Serializable
public class ConfigHoughPolar extends java.lang.Object implements Configuration
Configuration forDetectLineHoughPolar- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description intlocalMaxRadiusRadius for local maximum suppression.intmaxLinesMaximum number of lines to return.intminCountsMinimum number of counts for detected line.doubleresolutionAngleResolution of line angle in radius.doubleresolutionRangeResolution of line range in pixels.floatthresholdEdgeEdge detection threshold.
-
Constructor Summary
Constructors Constructor and Description ConfigHoughPolar(int minCounts)ConfigHoughPolar(int minCounts, int maxLines)ConfigHoughPolar(int localMaxRadius, int minCounts, double resolutionRange, double resolutionAngle, float thresholdEdge, int maxLines)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcheckValidity()Checks to see if the configuration is valid.
-
-
-
Field Detail
-
localMaxRadius
public int localMaxRadius
Radius for local maximum suppression. Try 2.
-
minCounts
public int minCounts
Minimum number of counts for detected line. Critical tuning parameter and image dependent.
-
resolutionRange
public double resolutionRange
Resolution of line range in pixels. Try 2
-
resolutionAngle
public double resolutionAngle
Resolution of line angle in radius. Try PI/180
-
thresholdEdge
public float thresholdEdge
Edge detection threshold. Try 50.
-
maxLines
public int maxLines
Maximum number of lines to return. If ≤ 0 it will return all
-
-
Constructor Detail
-
ConfigHoughPolar
public ConfigHoughPolar(int minCounts)
-
ConfigHoughPolar
public ConfigHoughPolar(int minCounts, int maxLines)
-
ConfigHoughPolar
public ConfigHoughPolar(int localMaxRadius, int minCounts, double resolutionRange, double resolutionAngle, float thresholdEdge, int maxLines)
-
-
Method Detail
-
checkValidity
public void checkValidity()
Description copied from interface:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-
-
DataMelt 3.0 © DataMelt by jWork.ORG