Class ConfigHoughFootSubimage
java.lang.Object
boofcv.factory.feature.detect.line.ConfigHoughFootSubimage
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
DetectLineHoughFootSubimage
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
Lines in transform space must be a local max in a region with this radius.int
Maximum number of lines to return.int
Minimum number of counts/votes inside the transformed image.int
Lines which are this close to the origin of the transformed image are ignored.float
Threshold for classifying pixels as edge or not.int
Number of sub-images in horizontal direction Try 2int
Number of sub images in vertical direction. -
Constructor Summary
ConstructorDescriptionConfigHoughFootSubimage
(int maxLines) ConfigHoughFootSubimage
(int localMaxRadius, int minCounts, int minDistanceFromOrigin, float thresholdEdge, int maxLines, int totalHorizontalDivisions, int totalVerticalDivisions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
localMaxRadius
public int localMaxRadiusLines in transform space must be a local max in a region with this radius. Try 5; -
minCounts
public int minCountsMinimum number of counts/votes inside the transformed image. Try 5. -
minDistanceFromOrigin
public int minDistanceFromOriginLines which are this close to the origin of the transformed image are ignored. Try 5. -
thresholdEdge
public float thresholdEdgeThreshold for classifying pixels as edge or not. Try 30. -
maxLines
public int maxLinesMaximum number of lines to return. If ≤ 0 it will return them all. -
totalHorizontalDivisions
public int totalHorizontalDivisionsNumber of sub-images in horizontal direction Try 2 -
totalVerticalDivisions
public int totalVerticalDivisionsNumber of sub images in vertical direction. Try 2
-
-
Constructor Details
-
ConfigHoughFootSubimage
public ConfigHoughFootSubimage() -
ConfigHoughFootSubimage
public ConfigHoughFootSubimage(int maxLines) -
ConfigHoughFootSubimage
public ConfigHoughFootSubimage(int localMaxRadius, int minCounts, int minDistanceFromOrigin, float thresholdEdge, int maxLines, int totalHorizontalDivisions, int totalVerticalDivisions)
-
-
Method Details
-
setTo
-
checkValidity
public void checkValidity()Description copied from interface:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidity
in interfaceConfiguration
-