Class SquareRegularClustersIntoGrids

java.lang.Object
boofcv.alg.fiducial.calib.squares.SquareRegularClustersIntoGrids

public class SquareRegularClustersIntoGrids
extends Object
Takes as input a set of unordered regular connected clusters and converts them into ordered grids with known numbers of rows and columns.
  • Constructor Details

    • SquareRegularClustersIntoGrids

      public SquareRegularClustersIntoGrids​(int minimumElements)
      Configures class
      Parameters:
      minimumElements - The minimum number of elements which must be in a cluster for it to be accepted
  • Method Details

    • process

      public void process​(List<List<SquareNode>> clusters)
      Converts the set of provided clusters into ordered grids.
      Parameters:
      clusters - List of clustered nodes
    • getGrids

      public List<SquareGrid> getGrids()
      Returns a list of all the square grids it found
    • isVerbose

      public boolean isVerbose()
    • setVerbose

      public void setVerbose​(boolean verbose)