Package boofcv.abst.fiducial.calib
Class ConfigECoCheckMarkers.MarkerShape
java.lang.Object
boofcv.abst.fiducial.calib.ConfigECoCheckMarkers.MarkerShape
- All Implemented Interfaces:
Configuration,Serializable
- Enclosing class:
- ConfigECoCheckMarkers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintNumber of squares wide the grid isintNumber of squares tall the grid isdoubleLength of the square's side -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the configuration is valid.doubleReturns marker's widthintdoublegetWidth()Returns marker's widthvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
numRows
public int numRowsNumber of squares tall the grid is -
numCols
public int numColsNumber of squares wide the grid is -
squareSize
public double squareSizeLength of the square's side
-
-
Constructor Details
-
MarkerShape
public MarkerShape(int numRows, int numCols, double squareSize) -
MarkerShape
public MarkerShape()
-
-
Method Details
-
getNumCorners
public int getNumCorners() -
getWidth
public double getWidth()Returns marker's width -
getHeight
public double getHeight()Returns marker's width -
setTo
-
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
-