boofcv.abst.fiducial
Class SquareBinary_to_FiducialDetector<T extends ImageGray>
- java.lang.Object
-
- boofcv.abst.fiducial.BaseSquare_FiducialDetector<T,DetectFiducialSquareBinary<T>>
-
- boofcv.abst.fiducial.SquareBinary_to_FiducialDetector<T>
-
- All Implemented Interfaces:
- FiducialDetector<T>
public class SquareBinary_to_FiducialDetector<T extends ImageGray> extends BaseSquare_FiducialDetector<T,DetectFiducialSquareBinary<T>>
Wrapper aroundDetectFiducialSquareBinaryforFiducialDetector
-
-
Constructor Summary
Constructors Constructor and Description SquareBinary_to_FiducialDetector(DetectFiducialSquareBinary<T> alg, double targetWidth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetWidth(int which)Returns the width of the fiducial in world units.voidsetIntrinsic(IntrinsicParameters intrinsic)Specifies the intrinsic camera parameters.-
Methods inherited from class boofcv.abst.fiducial.BaseSquare_FiducialDetector
computeStability, detect, getAlgorithm, getFiducialToCamera, getId, getInputType, isSizeKnown, isSupportedID, isSupportedPose, totalFound
-
-
-
-
Constructor Detail
-
SquareBinary_to_FiducialDetector
public SquareBinary_to_FiducialDetector(DetectFiducialSquareBinary<T> alg, double targetWidth)
-
-
Method Detail
-
setIntrinsic
public void setIntrinsic(IntrinsicParameters intrinsic)
Description copied from interface:FiducialDetectorSpecifies the intrinsic camera parameters. Allows for the euclidean geometry of be extracted from a single image- Specified by:
setIntrinsicin interfaceFiducialDetector<T extends ImageGray>- Overrides:
setIntrinsicin classBaseSquare_FiducialDetector<T extends ImageGray,DetectFiducialSquareBinary<T extends ImageGray>>- Parameters:
intrinsic- The camera's intrinsic parmeters
-
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.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG