Package boofcv.factory.fiducial
Class ConfigFiducialHammingDetector
java.lang.Object
boofcv.factory.fiducial.ConfigFiducialHammingDetector
- All Implemented Interfaces:
Configuration
,Serializable
Configuration that describes how to detect a Hamming marker.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
How much ambiguous bits increase the hamming error by.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.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
-
minimumBlackBorderFraction
public double minimumBlackBorderFractionFraction of border pixels which must be black. -
ambiguousPenaltyFrac
public double ambiguousPenaltyFracHow much ambiguous bits increase the hamming error by. Their count is scaled by this much. -
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. -
configThreshold
-
-
Constructor Details
-
ConfigFiducialHammingDetector
public ConfigFiducialHammingDetector()
-
-
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
-