Documentation of 'boofcv.alg.fiducial.calib.squares.SquareGridTools' Java class
SquareGridTools
boofcv.alg.fiducial.calib.squares

Class SquareGridTools



  • public class SquareGridTools
    extends java.lang.Object
    A class for manipulating SquareGrid
    • Constructor Detail

      • SquareGridTools

        public SquareGridTools()
    • Method Detail

      • putIntoCanonical

        public void putIntoCanonical(SquareGrid grid)
        There can be 2 or 4 possible orientations which are equally valid solutions. For sake of consistency it will make the (0,0) coordinate be closest to the origin of the image coordinate system.
      • rotateCCW

        public void rotateCCW(SquareGrid grid)
      • checkFlip

        public boolean checkFlip(SquareGrid grid)
        Checks to see if it needs to be flipped. Flipping is required if X and Y axis in 2D grid are not CCW.
      • computeSize

        public double computeSize(SquareGrid grid)
      • transpose

        public void transpose(SquareGrid grid)
        Transposes the grid
      • flipRows

        public void flipRows(SquareGrid grid)
        Flips the order of rows
      • flipColumns

        public void flipColumns(SquareGrid grid)
        Flips the order of columns
      • boundingPolygonCCW

        public void boundingPolygonCCW(SquareGrid grid,
                                       Polygon2D_F64 bounding)
        Get outside corner polygon around the grid. The grid is assumed to be in CCW orientation.
      • orderSquareCorners

        public boolean orderSquareCorners(SquareGrid grid)
        Adjust the corners in the square's polygon so that they are aligned along the grids overall length
        Returns:
        true if valid grid or false if not

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.