Package boofcv.factory.fiducial
Class ConfigFiducialImage
java.lang.Object
boofcv.factory.fiducial.ConfigFiducialImage
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
SquareImage_to_FiducialDetector
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
How wide the border is relative to the total fiducial width.double
If the difference between an candidate and a target is less than this amount it is considered a match.double
Fraction of border pixels which must be black.Configuration for square detector NOTE: Number of sides, clockwise, and convex are all set by the detector in its consturctor. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.setTo
(ConfigFiducialImage src) 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
-