Class Zhang99ComputeTargetHomography

java.lang.Object
boofcv.alg.geo.calibration.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

  • Field Details

    • MINIMUM_POINTS

      public static int MINIMUM_POINTS
      Minimum number of points requires to process an image
  • Constructor Details

    • Zhang99ComputeTargetHomography

      public Zhang99ComputeTargetHomography()
  • Method Details

    • computeHomography

      public boolean computeHomography(List<PointIndex2D_F64> 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.
    • getCopyOfHomography

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