boofcv.alg.fiducial.calib.squares
Class RegularClustersIntoGrids
- java.lang.Object
-
- boofcv.alg.fiducial.calib.squares.RegularClustersIntoGrids
-
public class RegularClustersIntoGrids extends java.lang.ObjectTakes as input a set of unordered regular connected clusters and converts them into ordered grids with known numbers of rows and columns.
-
-
Constructor Summary
Constructors Constructor and Description RegularClustersIntoGrids(int minimumElements)Configures class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<SquareGrid>getGrids()Returns a list of all the square grids it foundbooleanisVerbose()voidprocess(java.util.List<java.util.List<SquareNode>> clusters)Converts the set of provided clusters into ordered grids.voidsetVerbose(boolean verbose)
-
-
-
Constructor Detail
-
RegularClustersIntoGrids
public RegularClustersIntoGrids(int minimumElements)
Configures class- Parameters:
minimumElements- The minimum number of elements which must be in a cluster for it to be accepted
-
-
Method Detail
-
process
public void process(java.util.List<java.util.List<SquareNode>> clusters)
Converts the set of provided clusters into ordered grids.- Parameters:
clusters- List of clustered nodes
-
getGrids
public java.util.List<SquareGrid> getGrids()
Returns a list of all the square grids it found
-
isVerbose
public boolean isVerbose()
-
setVerbose
public void setVerbose(boolean verbose)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG