Class HomogeneousRightEpipoleRefinerTest

java.lang.Object
com.irurueta.ar.epipolar.refiners.HomogeneousRightEpipoleRefinerTest
All Implemented Interfaces:
com.irurueta.geometry.refiners.RefinerListener<com.irurueta.geometry.Point2D>

class HomogeneousRightEpipoleRefinerTest extends Object implements com.irurueta.geometry.refiners.RefinerListener<com.irurueta.geometry.Point2D>
  • Field Details

  • Constructor Details

    • HomogeneousRightEpipoleRefinerTest

      HomogeneousRightEpipoleRefinerTest()
  • Method Details

    • testConstructor

      @Test void testConstructor() throws com.irurueta.geometry.GeometryException, com.irurueta.algebra.AlgebraException, com.irurueta.numerical.robust.RobustEstimatorException
      Throws:
      com.irurueta.geometry.GeometryException
      com.irurueta.algebra.AlgebraException
      com.irurueta.numerical.robust.RobustEstimatorException
    • testGetSetListener

      @Test void testGetSetListener()
    • testGetSetRefinementStandardDeviation

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

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

      @Test void testGetSetSamples1() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetSamples2

      @Test void testGetSetSamples2() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetInliers

      @Test void testGetSetInliers() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetResiduals

      @Test void testGetSetResiduals() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetNumInliers

      @Test void testGetSetNumInliers() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testSetInliersData

      @Test void testSetInliersData() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetInitialEstimation

      @Test void testGetSetInitialEstimation() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testIsSetCovarianceKept

      @Test void testIsSetCovarianceKept() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testRefine

      @Test void testRefine() throws com.irurueta.geometry.GeometryException, com.irurueta.algebra.AlgebraException, com.irurueta.numerical.robust.RobustEstimatorException
      Throws:
      com.irurueta.geometry.GeometryException
      com.irurueta.algebra.AlgebraException
      com.irurueta.numerical.robust.RobustEstimatorException
    • generateHomography

      private static com.irurueta.geometry.Transformation2D generateHomography(com.irurueta.geometry.PinholeCamera camera1, com.irurueta.geometry.PinholeCamera camera2, FundamentalMatrix fundamentalMatrix, List<com.irurueta.geometry.Point2D> projectedPoints1, List<com.irurueta.geometry.Point2D> projectedPoints2) throws com.irurueta.geometry.GeometryException, com.irurueta.algebra.AlgebraException, com.irurueta.numerical.robust.RobustEstimatorException
      Throws:
      com.irurueta.geometry.GeometryException
      com.irurueta.algebra.AlgebraException
      com.irurueta.numerical.robust.RobustEstimatorException
    • onRefineStart

      public void onRefineStart(com.irurueta.geometry.refiners.Refiner<com.irurueta.geometry.Point2D> refiner, com.irurueta.geometry.Point2D initialEstimation)
      Specified by:
      onRefineStart in interface com.irurueta.geometry.refiners.RefinerListener<com.irurueta.geometry.Point2D>
    • onRefineEnd

      public void onRefineEnd(com.irurueta.geometry.refiners.Refiner<com.irurueta.geometry.Point2D> refiner, com.irurueta.geometry.Point2D initialEstimation, com.irurueta.geometry.Point2D result, boolean errorDecreased)
      Specified by:
      onRefineEnd in interface com.irurueta.geometry.refiners.RefinerListener<com.irurueta.geometry.Point2D>
    • reset

      private void reset()
    • checkLocked

      private static void checkLocked(HomogeneousRightEpipoleRefiner refiner)