Package boofcv.factory.fiducial
Class ConfigFiducialBinary
java.lang.Object
boofcv.factory.fiducial.ConfigFiducialBinary
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
SquareBinary_to_FiducialDetector
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
Value from 0 to 1.double
How wide the border is relative to the total fiducial width.int
Number of elements wide the encoded grid is.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.double
Length of a targets size in world units. -
Constructor Summary
-
Method Summary
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
-
targetWidth
public double targetWidthLength of a targets size in world units. -
ambiguousThreshold
public double ambiguousThresholdValue from 0 to 1. 0 is very strict and 1 is very relaxed. Used when classifying a require block as black or white. If it can't be classified then the shape is discarded -
gridWidth
public int gridWidthNumber of elements wide the encoded grid is. Grids widths of 3, 4, or 5 are common. 4 is the standard. -
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
-
ConfigFiducialBinary
public ConfigFiducialBinary() -
ConfigFiducialBinary
public ConfigFiducialBinary(double targetWidth)
-
-
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
-