Class AdjustHomographyMatrix

java.lang.Object
boofcv.alg.geo.h.AdjustHomographyMatrix

public class AdjustHomographyMatrix extends Object
The scale and sign of a homography matrix is ambiguous. This contains functions which pick a reasonable scale and the correct sign. The second smallest singular value is set to one and the sign is chosen such that the basic properties work.
  • Field Details

  • Constructor Details

    • AdjustHomographyMatrix

      public AdjustHomographyMatrix()
  • Method Details

    • adjust

      public boolean adjust(DMatrixRMaj H, AssociatedPair p)
    • adjust

      public boolean adjust(DMatrixRMaj H, PairLineNorm p)
    • findScaleH

      protected boolean findScaleH(DMatrixRMaj H)
      The scale of H is found by computing the second smallest singular value.
    • adjustHomographSign

      protected void adjustHomographSign(AssociatedPair p, DMatrixRMaj H)
      Since the sign of the homography is ambiguous a point is required to make sure the correct one was selected.
      Parameters:
      p - test point, used to determine the sign of the matrix.
    • adjustHomographSign

      protected void adjustHomographSign(PairLineNorm p, DMatrixRMaj H)
      Since the sign of the homography is ambiguous a point is required to make sure the correct one was selected.
      Parameters:
      p - test point, used to determine the sign of the matrix.