boofcv.alg.fiducial.calib.squares
Class CrossClustersIntoGrids
- java.lang.Object
-
- boofcv.alg.fiducial.calib.squares.CrossClustersIntoGrids
-
public class CrossClustersIntoGrids extends java.lang.ObjectTakes as input a set of unordered cross connected clusters and converts them into ordered grids with known numbers of rows and columns. The output will be valid "chessboard" pattern. When rows and columns are discussed in the code below it refers to both white and black squares in the chessboard. A row that starts with a white square is referred to as white and one which starts with a black square as black.
-
-
Constructor Summary
Constructors Constructor and Description CrossClustersIntoGrids()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FastQueue<SquareGrid>getGrids()voidprocess(java.util.List<java.util.List<SquareNode>> clusters)Converts all the found clusters into grids, if they are valid.voidsetVerbose(boolean verbose)
-
-
-
Method Detail
-
process
public void process(java.util.List<java.util.List<SquareNode>> clusters)
Converts all the found clusters into grids, if they are valid.- Parameters:
clusters- List of clusters
-
getGrids
public FastQueue<SquareGrid> getGrids()
-
setVerbose
public void setVerbose(boolean verbose)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG