Package boofcv.alg.geo.calibration
Class Zhang99ComputeTargetHomography
java.lang.Object
boofcv.alg.geo.calibration.Zhang99ComputeTargetHomography
Given a description of the calibration grid and a set of observations compute the associated Homography. First a linear approximation is computed follow by non-linear refinement. Part of calibration process described in [1].
[1] Zhengyou Zhang, "Flexible Camera Calibration By Viewing a Plane From Unknown Orientations,", International Conference on Computer Vision (ICCV'99), Corfu, Greece, pages 666-673, September 1999.99
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
Minimum number of points requires to process an image -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
computeHomography
(List<PointIndex2D_F64> observedPoints) Computes the homography from a list of detected grid points in the image.Returns a copy of the found homography matrix.
-
Field Details
-
MINIMUM_POINTS
public static int MINIMUM_POINTSMinimum number of points requires to process an image
-
-
Constructor Details
-
Zhang99ComputeTargetHomography
public Zhang99ComputeTargetHomography()
-
-
Method Details
-
computeHomography
Computes the homography from a list of detected grid points in the image. The order of the grid points is important and must follow the expected row major starting at the top left.- Parameters:
observedPoints
- List of ordered detected grid points in image pixels.- Returns:
- True if it computed a Homography and false if it failed to compute a homography matrix.
-
getCopyOfHomography
Returns a copy of the found homography matrix.- Returns:
- Homography matrix.
-