Documentation of 'boofcv.abst.fiducial.calib.ConfigSquareGridBinary' Java class
ConfigSquareGridBinary
boofcv.abst.fiducial.calib

Class ConfigSquareGridBinary

    • Field Detail

      • ids

        public long[] ids
        Ordered list of expected square fiducial ID numbers. Starts from top left and follows a row major ordering.
      • numRows

        public int numRows
        Number of squares tall the grid is. Target dependent.
      • numCols

        public int numCols
        Number of squares wide the grid is. Target dependent.
      • squareWidth

        public double squareWidth
        Physical width of the square.
      • spaceWidth

        public double spaceWidth
        Physical width of hte space between each square
    • Constructor Detail

      • ConfigSquareGridBinary

        public ConfigSquareGridBinary(int numRows,
                                      int numCols,
                                      double squareWidth,
                                      double spaceWidth)
        Configures the grid with the following specifications and configures the fiducial detector to be 3x3 with fiducials id number 0 to (numRows*numCols)-1.
      • ConfigSquareGridBinary

        public ConfigSquareGridBinary()
    • Method Detail

      • 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 interface Configuration
      • parseSimple

        public static ConfigSquareGridBinary parseSimple(java.io.BufferedReader reader)
                                                  throws java.io.IOException
        Parses a simple configuration text sequence that describes the target type. Example is shown below:
         # Description of a binary grid calibration target
         binary_width 3
         grid_shape 4
         square_width 40
         space_width 20
         numbers 0 1 2 3 4 5 6 7 8 9 10 11
         
        Parameters:
        reader - Input
        Returns:
        Configuration
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.