Documentation of 'boofcv.alg.fiducial.calib.grid.DetectSquareGridFiducial' Java class
DetectSquareGridFiducial
boofcv.alg.fiducial.calib.grid

Class DetectSquareGridFiducial<T extends ImageGray>



  • public class DetectSquareGridFiducial<T extends ImageGray>
    extends java.lang.Object
    Detect a square grid calibration target and returns the corner points of each square. This calibration grid is specified by a set of squares which are organized in a grid pattern. All squares are the same size. The entire grid must be visible. Space between the squares is specified as a ratio of the square size. The grid will be oriented so that returned points are in counter clockwise (CCW) ordering, which appears to be CW in the image.

    There is also always at least two solutions to the ordering. For sake of consistency it will select the orientation where index 0 is the closest to the origin.

    Example of a 4 by 3 grid (row then column).

    • Constructor Detail

      • DetectSquareGridFiducial

        public DetectSquareGridFiducial(int numRows,
                                        int numCols,
                                        double spaceToSquareRatio,
                                        InputToBinary<T> inputToBinary,
                                        BinaryPolygonDetector<T> detectorSquare)
        COnfigures the detector
        Parameters:
        numRows - Number of black squares in the grid rows
        numCols - Number of black squares in the grid columns
        spaceToSquareRatio - Ratio of spacing between the squares and the squares width
        inputToBinary - Converts input image into a binary image
        detectorSquare - Detects the squares in the image. Must be configured to detect squares
    • Method Detail

      • process

        public boolean process(T image)
        Process the image and detect the calibration target
        Parameters:
        image - Input image
        Returns:
        true if a calibration target was found and false if not
      • getCalibrationPoints

        public java.util.List<Point2D_F64> getCalibrationPoints()
      • getCalibrationRows

        public int getCalibrationRows()
      • getCalibrationCols

        public int getCalibrationCols()
      • getClusters

        public java.util.List<java.util.List<SquareNode>> getClusters()
      • getBinary

        public GrayU8 getBinary()
      • getColumns

        public int getColumns()
      • getRows

        public int getRows()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.