Class Zhang99ComputeTargetHomography


public class Zhang99ComputeTargetHomography
extends Object

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

  • Constructor Details

    • Zhang99ComputeTargetHomography

      public Zhang99ComputeTargetHomography​(List<Point2D_F64> worldPoints)
  • Method Details

    • 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.
      observedPoints - List of ordered detected grid points in image pixels.
      True if it computed a Homography and false if it failed to compute a homography matrix.
    • getHomography

      public DMatrixRMaj getHomography()
      Returns a copy of the found homography matrix.
      Homography matrix.