Class HomographyDecomposerTest

java.lang.Object
com.irurueta.ar.epipolar.estimators.HomographyDecomposerTest
All Implemented Interfaces:
HomographyDecomposerListener

class HomographyDecomposerTest extends Object implements HomographyDecomposerListener
  • Field Details

  • Constructor Details

    • HomographyDecomposerTest

      HomographyDecomposerTest()
  • Method Details

    • testConstructor

      @Test void testConstructor()
    • testGetSetHomography

      @Test void testGetSetHomography() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetLeftIntrinsics

      @Test void testGetSetLeftIntrinsics() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetRightIntrinsics

      @Test void testGetSetRightIntrinsics() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetListener

      @Test void testGetSetListener()
    • testDecompose

      @Test void testDecompose() throws com.irurueta.algebra.AlgebraException, com.irurueta.geometry.GeometryException
      Throws:
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.GeometryException
    • validDecomposition

      private static boolean validDecomposition(com.irurueta.geometry.ProjectiveTransformation2D homography, HomographyDecomposition decomposition, com.irurueta.geometry.PinholeCameraIntrinsicParameters intrinsic1, com.irurueta.geometry.PinholeCameraIntrinsicParameters intrinsic2) throws com.irurueta.algebra.WrongSizeException
      Throws:
      com.irurueta.algebra.WrongSizeException
    • areEqualUpToScale

      private static boolean areEqualUpToScale(FundamentalMatrix fundamentalMatrix1, FundamentalMatrix fundamentalMatrix2) throws com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.estimators.NotReadyException
      Throws:
      com.irurueta.geometry.NotAvailableException
      com.irurueta.geometry.estimators.NotReadyException
    • reset

      private void reset()
    • onDecomposeStart

      public void onDecomposeStart(HomographyDecomposer decomposer)
      Specified by:
      onDecomposeStart in interface HomographyDecomposerListener
    • onDecomposeEnd

      public void onDecomposeEnd(HomographyDecomposer decomposer, List<HomographyDecomposition> result)
      Specified by:
      onDecomposeEnd in interface HomographyDecomposerListener