Package boofcv.abst.fiducial
Class SquareBinary_to_FiducialDetector<T extends ImageGray<T>>
java.lang.Object
boofcv.abst.fiducial.FiducialDetectorPnP<T>
boofcv.abst.fiducial.SquareBase_to_FiducialDetector<T,DetectFiducialSquareBinary<T>>
boofcv.abst.fiducial.SquareBinary_to_FiducialDetector<T>
- All Implemented Interfaces:
FiducialDetector<T>
public class SquareBinary_to_FiducialDetector<T extends ImageGray<T>>
extends SquareBase_to_FiducialDetector<T,DetectFiducialSquareBinary<T>>
Wrapper around
DetectFiducialSquareBinary for FiducialDetector-
Field Summary
Fields inherited from class boofcv.abst.fiducial.FiducialDetectorPnP
pixelToNorm -
Constructor Summary
ConstructorsConstructorDescriptionSquareBinary_to_FiducialDetector(DetectFiducialSquareBinary<T> detector, double targetWidth) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetSideHeight(int which) Height of the fiducial.doublegetSideWidth(int which) Width of the fiducial.doublegetWidth(int which) Returns the width of the fiducial in world units.Methods inherited from class boofcv.abst.fiducial.SquareBase_to_FiducialDetector
detect, estimatePose, getAlgorithm, getBounds, getCenter, getControl3D, getDetectedControl, getId, getInputType, getMessage, hasID, hasMessage, setLensDistortion, totalFoundMethods inherited from class boofcv.abst.fiducial.FiducialDetectorPnP
computeStability, getFiducialToCamera, getLensDistortion, is3D
-
Constructor Details
-
SquareBinary_to_FiducialDetector
-
-
Method Details
-
getSideWidth
public double getSideWidth(int which) Description copied from class:FiducialDetectorPnPWidth of the fiducial. used to compute stability- Specified by:
getSideWidthin classFiducialDetectorPnP<T extends ImageGray<T>>- Parameters:
which- specifies which fiducial- Returns:
- the width
-
getSideHeight
public double getSideHeight(int which) Description copied from class:FiducialDetectorPnPHeight of the fiducial. used to compute stability- Specified by:
getSideHeightin classFiducialDetectorPnP<T extends ImageGray<T>>- Parameters:
which- specifies which fiducial- Returns:
- the height
-
getWidth
public double getWidth(int which) Description copied from interface:FiducialDetectorReturns the width of the fiducial in world units. If not square then it returns a reasonable approximation. Intended for use in visualization and not precise calculations.- Parameters:
which- Fiducial's index- Returns:
- Fiducial's width.
-