boofcv.factory.fiducial
Class FactoryFiducial
- java.lang.Object
-
- boofcv.factory.fiducial.FactoryFiducial
-
public class FactoryFiducial extends java.lang.ObjectFactory for creating fiducial detectors which implementFiducialDetector.
-
-
Constructor Summary
Constructors Constructor and Description FactoryFiducial()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static <T extends ImageGray>
CalibrationFiducialDetector<T>calibChessboard(ConfigChessboard config, java.lang.Class<T> imageType)Wrapper around chessboard calibration detector.static <T extends ImageGray>
CalibrationFiducialDetector<T>calibSquareGrid(ConfigSquareGrid config, java.lang.Class<T> imageType)Wrapper around square-grid calibration detector.static <T extends ImageGray>
CalibrationFiducialDetector<T>calibSquareGridBinary(ConfigSquareGridBinary config, java.lang.Class<T> imageType)static <T extends ImageGray>
SquareBinary_to_FiducialDetector<T>squareBinary(ConfigFiducialBinary configFiducial, ConfigThreshold configThreshold, java.lang.Class<T> imageType)Detector for square binary based fiducials.static <T extends ImageGray>
SquareImage_to_FiducialDetector<T>squareImage(ConfigFiducialImage configFiducial, ConfigThreshold configThreshold, java.lang.Class<T> imageType)Detector for square image based fiducials.
-
-
-
Method Detail
-
squareBinary
public static <T extends ImageGray> SquareBinary_to_FiducialDetector<T> squareBinary(ConfigFiducialBinary configFiducial, ConfigThreshold configThreshold, java.lang.Class<T> imageType)
Detector for square binary based fiducials.- Parameters:
configFiducial- Description of the fiducial. Can't be null.configThreshold- Threshold for binary image. null for default.imageType- Type of image it's processing- Returns:
- FiducialDetector
- See Also:
DetectFiducialSquareBinary for a description of this fiducial type.
-
squareImage
public static <T extends ImageGray> SquareImage_to_FiducialDetector<T> squareImage(ConfigFiducialImage configFiducial, ConfigThreshold configThreshold, java.lang.Class<T> imageType)
Detector for square image based fiducials.
For this fiducial to work images need to be added to it. Which is why
SquareImage_to_FiducialDetectoris returned instead of the more genericFiducialDetector.- Parameters:
configFiducial- Description of the fiducial. Can't be null.configThreshold- Threshold for binary image. null for default.imageType- Type of image it's processing- Returns:
- FiducialDetector
- See Also:
DetectFiducialSquareImage for a description of this fiducial type.
-
calibChessboard
public static <T extends ImageGray> CalibrationFiducialDetector<T> calibChessboard(ConfigChessboard config, java.lang.Class<T> imageType)
Wrapper around chessboard calibration detector. Refine with lines is set to true automatically. This isn't being used for calibration and its better to use the whole line.- Parameters:
config- Description of the chessboard.imageType- Type of image it's processing- Returns:
- FiducialDetector
-
calibSquareGrid
public static <T extends ImageGray> CalibrationFiducialDetector<T> calibSquareGrid(ConfigSquareGrid config, java.lang.Class<T> imageType)
Wrapper around square-grid calibration detector. Refine with lines is set to true automatically. This isn't being used for calibration and its better to use the whole line.- Parameters:
config- Description of the chessboard.imageType- Type of image it's processing- Returns:
- FiducialDetector
-
calibSquareGridBinary
public static <T extends ImageGray> CalibrationFiducialDetector<T> calibSquareGridBinary(ConfigSquareGridBinary config, java.lang.Class<T> imageType)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG