Package boofcv.factory.fiducial
Class ConfigFiducialImage
java.lang.Object
boofcv.factory.fiducial.ConfigFiducialImage
- All Implemented Interfaces:
Configuration
,Serializable
public class ConfigFiducialImage extends Object implements Configuration
Configuration for
SquareImage_to_FiducialDetector
.- See Also:
DetectFiducialSquareImage
, Serialized Form
-
Field Summary
Fields Modifier and Type Field Description double
borderWidthFraction
How wide the border is relative to the total fiducial width.double
maxErrorFraction
If the difference between an candidate and a target is less than this amount it is considered a match.double
minimumBlackBorderFraction
Fraction of border pixels which must be black.ConfigPolygonDetector
squareDetector
Configuration for square detector NOTE: Number of sides, clockwise, and convex are all set by the detector in its consturctor. -
Constructor Summary
Constructors Constructor Description ConfigFiducialImage()
-
Method Summary
Modifier and Type Method Description void
checkValidity()
Checks to see if the configuration is valid.ConfigFiducialImage
setTo(ConfigFiducialImage src)
String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
maxErrorFraction
public double maxErrorFractionIf the difference between an candidate and a target is less than this amount it is considered a match. -
borderWidthFraction
public double borderWidthFractionHow wide the border is relative to the total fiducial width. 0.25 is standard and is a good compromise between ability to view at extreme angles and area to encode information. -
minimumBlackBorderFraction
public double minimumBlackBorderFractionFraction of border pixels which must be black. -
squareDetector
Configuration for square detector NOTE: Number of sides, clockwise, and convex are all set by the detector in its consturctor. Values specified here are ignored.
-
-
Constructor Details
-
ConfigFiducialImage
public ConfigFiducialImage()
-
-
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
-
toString
-