boofcv.alg.geo.calibration
Class Zhang99ComputeTargetHomography
- java.lang.Object
-
- boofcv.alg.geo.calibration.Zhang99ComputeTargetHomography
-
public class Zhang99ComputeTargetHomography extends java.lang.ObjectGiven 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
-
-
Constructor Summary
Constructors Constructor and Description Zhang99ComputeTargetHomography(java.util.List<Point2D_F64> worldPoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleancomputeHomography(CalibrationObservation observedPoints)Computes the homography from a list of detected grid points in the image.org.ejml.data.DenseMatrix64FgetHomography()Returns a copy of the found homography matrix.
-
-
-
Constructor Detail
-
Zhang99ComputeTargetHomography
public Zhang99ComputeTargetHomography(java.util.List<Point2D_F64> worldPoints)
-
-
Method Detail
-
computeHomography
public boolean computeHomography(CalibrationObservation observedPoints)
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.
-
getHomography
public org.ejml.data.DenseMatrix64F getHomography()
Returns a copy of the found homography matrix.- Returns:
- Homography matrix.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG