Package boofcv.alg.fiducial.aztec
Class GridToPixelHelper
java.lang.Object
boofcv.alg.fiducial.aztec.GridToPixelHelper
Everything you need to go from a grid coordinate into pixels using a homography
-
Field Summary
Modifier and TypeFieldDescriptionprotected Estimate1ofEpipolar
protected Point2D_F64
protected DMatrixRMaj
protected DogArray<AssociatedPair>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convert
(double gridX, double gridY, Point2D_F64 pixel) Computes location of grid coordinate on the image in pixelsvoid
initOriginCenter
(Polygon2D_F64 polygon, int squaresWide) Origin is defined as the dead center of the center square in the locator pattern.
-
Field Details
-
computeH
-
gridToImage
-
pairs
-
gridPoint
-
-
Constructor Details
-
GridToPixelHelper
public GridToPixelHelper()
-
-
Method Details
-
initOriginCenter
Origin is defined as the dead center of the center square in the locator pattern. Thus the inner more square black square is from (-0.5, -0.5) to (0.5, 0.5)- Parameters:
polygon
- Polygon which defines the square grid in image pixelssquaresWide
- Number of squares wide the grid coordinate is inside the square
-
convert
Computes location of grid coordinate on the image in pixels
-