public class EllipseClustersIntoRegularGrid extends EllipseClustersIntoGrid
Given a cluster of ellipses (created with EllipsesIntoClusters) order the ellipses into an regular
grid. Must be a proper grid too. That means number of rows and columns both need to be 2 or more.
Unlike the asymmetric grid the return grid object will be dense
with every element filled as expected.
EllipseClustersIntoGrid.Edge, EllipseClustersIntoGrid.Grid, EllipseClustersIntoGrid.NodeInfocontour, foundGrids, listInfo, MAX_LINE_ANGLE_CHANGE, sorter, verbose| Constructor and Description |
|---|
EllipseClustersIntoRegularGrid() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(java.util.List<georegression.struct.curve.EllipseRotated_F64> ellipses,
java.util.List<java.util.List<EllipsesIntoClusters.Node>> clusters)
Computes grids from the clusters.
|
findClosestEdge, findLine, getGrids, indexOf, isVerbose, selectSeedNext, setVerbosepublic void process(java.util.List<georegression.struct.curve.EllipseRotated_F64> ellipses,
java.util.List<java.util.List<EllipsesIntoClusters.Node>> clusters)
EllipseClustersIntoGrid.getGrids() to retrieve the results.process in class EllipseClustersIntoGridellipses - (input) List of all the ellipsesclusters - (Input) Description of all the clusters