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
Modifier and TypeFieldDescriptionint
Number of squares wide the grid isint
Number of squares tall the grid isdouble
Length of the square's side -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.double
Returns marker's widthint
double
getWidth()
Returns marker's widthvoid
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
-
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: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
-