boofcv.factory.fiducial
Class ConfigFiducialImage
- java.lang.Object
-
- boofcv.factory.fiducial.ConfigFiducialImage
-
- All Implemented Interfaces:
- Configuration, java.io.Serializable
public class ConfigFiducialImage extends java.lang.Object implements Configuration
Configuration forSquareBinary_to_FiducialDetector.- See Also:
DetectFiducialSquareBinary, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description doubleborderWidthFractionHow wide the border is relative to the total fiducial width.doublemaxErrorFractionIf the difference between an candidate and a target is less than this amount it is considered a match.doubleminimumBlackBorderFractionFraction of border pixels which must be black.ConfigPolygonDetectorsquareDetectorConfiguration for square detector
-
Constructor Summary
Constructors Constructor and Description ConfigFiducialImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcheckValidity()Checks to see if the configuration is valid.doublegetMaxErrorFraction()ConfigPolygonDetectorgetSquareDetector()voidsetMaxErrorFraction(double maxErrorFraction)voidsetSquareDetector(ConfigPolygonDetector squareDetector)java.lang.StringtoString()
-
-
-
Field Detail
-
maxErrorFraction
public double maxErrorFraction
If the difference between an candidate and a target is less than this amount it is considered a match.
-
borderWidthFraction
public double borderWidthFraction
How 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 minimumBlackBorderFraction
Fraction of border pixels which must be black.
-
squareDetector
public ConfigPolygonDetector squareDetector
Configuration for square detector
-
-
Method Detail
-
checkValidity
public void checkValidity()
Description copied from interface:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-
getMaxErrorFraction
public double getMaxErrorFraction()
-
setMaxErrorFraction
public void setMaxErrorFraction(double maxErrorFraction)
-
getSquareDetector
public ConfigPolygonDetector getSquareDetector()
-
setSquareDetector
public void setSquareDetector(ConfigPolygonDetector squareDetector)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG