public class OrderChessboardQuadBlobs
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderChessboardQuadBlobs.ComparatorQuads |
| Constructor and Description |
|---|
OrderChessboardQuadBlobs(int numCols,
int numRows)
Specifies the size of the chessboard
|
| Modifier and Type | Method and Description |
|---|---|
protected static QuadBlob |
findBestCCW(QuadBlob parent,
QuadBlob pivot) |
protected static QuadBlob |
findBestCW(QuadBlob parent,
QuadBlob pivot) |
java.util.List<QuadBlob> |
getResults() |
boolean |
order(java.util.List<QuadBlob> blobs)
Points the points in the QuadBlob into a standard order.
|
public OrderChessboardQuadBlobs(int numCols,
int numRows)
numCols - Number of columns in the chessboardnumRows - Number of rows in the chessboardpublic boolean order(java.util.List<QuadBlob> blobs)
blobs - Unordered set of blobs with a valid graphpublic java.util.List<QuadBlob> getResults()