public class OrderPointsIntoGrid
extends java.lang.Object
| Constructor and Description |
|---|
OrderPointsIntoGrid() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<georegression.struct.point.Point2D_F64> |
findLine(georegression.struct.point.Point2D_F64 startPt,
georegression.struct.point.Point2D_F64 target,
java.util.List<georegression.struct.point.Point2D_F64> candidates)
Uses previously computed connections to find a row of blobs in the calibration target.
|
int |
getNumCols()
Number of columns in found calibration grid
|
int |
getNumRows()
Number of rows in found calibration grid
|
java.util.List<georegression.struct.point.Point2D_F64> |
getOrdered() |
java.util.List<georegression.struct.point.Point2D_F64> |
getQuadrilateral()
Returns corners in bounding quadrilateral
|
java.util.List<georegression.struct.point.Point2D_F64> |
process(java.util.List<georegression.struct.point.Point2D_F64> unordered)
Process the list of points and puts them into grid order
|
public java.util.List<georegression.struct.point.Point2D_F64> process(java.util.List<georegression.struct.point.Point2D_F64> unordered)
throws InvalidCalibrationTarget
unordered - List of points not in any order.InvalidCalibrationTarget - Throw if the points are found to not be a grid.public java.util.List<georegression.struct.point.Point2D_F64> findLine(georegression.struct.point.Point2D_F64 startPt,
georegression.struct.point.Point2D_F64 target,
java.util.List<georegression.struct.point.Point2D_F64> candidates)
startPt - Left most point in the row.target - Top right corner in calibration target.public java.util.List<georegression.struct.point.Point2D_F64> getQuadrilateral()
public java.util.List<georegression.struct.point.Point2D_F64> getOrdered()
public int getNumCols()
public int getNumRows()