Class SparseReconstructorTest

java.lang.Object
com.irurueta.ar.sfm.SparseReconstructorTest

class SparseReconstructorTest extends Object
  • Field Details

    • MIN_RANDOM_VALUE

      private static final double MIN_RANDOM_VALUE
      See Also:
    • MAX_RANDOM_VALUE

      private static final double MAX_RANDOM_VALUE
      See Also:
    • MIN_RANDOM_VALUE_PLANAR

      private static final double MIN_RANDOM_VALUE_PLANAR
      See Also:
    • MAX_RANDOM_VALUE_PLANAR

      private static final double MAX_RANDOM_VALUE_PLANAR
      See Also:
    • MIN_FOCAL_LENGTH_ESSENTIAL

      private static final double MIN_FOCAL_LENGTH_ESSENTIAL
      See Also:
    • MAX_FOCAL_LENGTH_ESSENTIAL

      private static final double MAX_FOCAL_LENGTH_ESSENTIAL
      See Also:
    • MIN_FOCAL_LENGTH_DIAC

      private static final double MIN_FOCAL_LENGTH_DIAC
      See Also:
    • MAX_FOCAL_LENGTH_DIAC

      private static final double MAX_FOCAL_LENGTH_DIAC
      See Also:
    • MIN_PRINCIPAL_POINT_ESSENTIAL

      private static final double MIN_PRINCIPAL_POINT_ESSENTIAL
      See Also:
    • MAX_PRINCIPAL_POINT_ESSENTIAL

      private static final double MAX_PRINCIPAL_POINT_ESSENTIAL
      See Also:
    • MIN_PRINCIPAL_POINT_DIAC

      private static final double MIN_PRINCIPAL_POINT_DIAC
      See Also:
    • MAX_PRINCIPAL_POINT_DIAC

      private static final double MAX_PRINCIPAL_POINT_DIAC
      See Also:
    • MIN_ANGLE_DEGREES

      private static final double MIN_ANGLE_DEGREES
      See Also:
    • MAX_ANGLE_DEGREES

      private static final double MAX_ANGLE_DEGREES
      See Also:
    • MIN_CAMERA_SEPARATION_DIAC

      private static final double MIN_CAMERA_SEPARATION_DIAC
      See Also:
    • MAX_CAMERA_SEPARATION_DIAC

      private static final double MAX_CAMERA_SEPARATION_DIAC
      See Also:
    • MIN_CAMERA_SEPARATION_ESSENTIAL

      private static final double MIN_CAMERA_SEPARATION_ESSENTIAL
      See Also:
    • MAX_CAMERA_SEPARATION_ESSENTIAL

      private static final double MAX_CAMERA_SEPARATION_ESSENTIAL
      See Also:
    • MIN_NUM_POINTS

      private static final int MIN_NUM_POINTS
      See Also:
    • MAX_NUM_POINTS

      private static final int MAX_NUM_POINTS
      See Also:
    • MIN_LAMBDA_ESSENTIAL

      private static final double MIN_LAMBDA_ESSENTIAL
      See Also:
    • MAX_LAMBDA_ESSENTIAL

      private static final double MAX_LAMBDA_ESSENTIAL
      See Also:
    • MIN_LAMBDA_DIAC

      private static final double MIN_LAMBDA_DIAC
      See Also:
    • MAX_LAMBDA_DIAC

      private static final double MAX_LAMBDA_DIAC
      See Also:
    • TIMES

      private static final int TIMES
      See Also:
    • MAX_TRIES

      private static final int MAX_TRIES
      See Also:
    • ABSOLUTE_ERROR

      private static final double ABSOLUTE_ERROR
      See Also:
    • LARGE_ABSOLUTE_ERROR

      private static final double LARGE_ABSOLUTE_ERROR
      See Also:
    • MIN_TRACKED_POINTS

      private static final int MIN_TRACKED_POINTS
      See Also:
    • NEAREST_THRESHOLD

      private static final double NEAREST_THRESHOLD
      See Also:
    • viewCount

      private int viewCount
    • estimatedFundamentalMatrix

      private EstimatedFundamentalMatrix estimatedFundamentalMatrix
    • estimatedFundamentalMatrix2

      private EstimatedFundamentalMatrix estimatedFundamentalMatrix2
    • estimatedMetricCamera1

      private EstimatedCamera estimatedMetricCamera1
    • estimatedMetricCamera2

      private EstimatedCamera estimatedMetricCamera2
    • estimatedMetricCamera3

      private EstimatedCamera estimatedMetricCamera3
    • estimatedEuclideanCamera1

      private EstimatedCamera estimatedEuclideanCamera1
    • estimatedEuclideanCamera2

      private EstimatedCamera estimatedEuclideanCamera2
    • estimatedEuclideanCamera3

      private EstimatedCamera estimatedEuclideanCamera3
    • metricReconstructedPoints

      private List<ReconstructedPoint3D> metricReconstructedPoints
    • euclideanReconstructedPoints

      private List<ReconstructedPoint3D> euclideanReconstructedPoints
    • scale

      private double scale
    • scale2

      private double scale2
    • started

      private boolean started
    • finished

      private boolean finished
    • failed

      private boolean failed
    • cancelled

      private boolean cancelled
  • Constructor Details

    • SparseReconstructorTest

      SparseReconstructorTest()
  • Method Details

    • setUp

      @BeforeEach void setUp()
    • testConstructor

      @Test void testConstructor()
    • testGeneralPointsEssentialTwoViews

      @Test void testGeneralPointsEssentialTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testGeneralPointsDIACTwoViews

      @Test void testGeneralPointsDIACTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testGeneralPointsDAQAndEssentialZeroPrincipalPointTwoViews

      @Test void testGeneralPointsDAQAndEssentialZeroPrincipalPointTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testGeneralPointsDAQAndEssentialTwoViews

      @Test void testGeneralPointsDAQAndEssentialTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testGeneralPointsDAQTwoViews

      @Test void testGeneralPointsDAQTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.estimators.LockedException, com.irurueta.numerical.robust.RobustEstimatorException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.numerical.robust.RobustEstimatorException
    • testPlanarPointsEssentialTwoViews

      @Test void testPlanarPointsEssentialTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testPlanarPointsDIACTwoViews

      @Test void testPlanarPointsDIACTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testPlanarPointsDAQAndEssentialZeroPrincipalPointTwoViews

      @Test void testPlanarPointsDAQAndEssentialZeroPrincipalPointTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testPlanarPointsDAQTwoViews

      @Test void testPlanarPointsDAQTwoViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testGeneralPointsEssentialEPnPAdditionalIntrinsicThreeViews

      @Test void testGeneralPointsEssentialEPnPAdditionalIntrinsicThreeViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testGeneralPointsEssentialEPnPDAQThreeViews

      @Test void testGeneralPointsEssentialEPnPDAQThreeViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testGeneralPointsEssentialEPnPDIACThreeViews

      @Test void testGeneralPointsEssentialEPnPDIACThreeViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testGeneralPointsEssentialUPnPThreeViews

      @Test void testGeneralPointsEssentialUPnPThreeViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • testGeneralPointsEssentialDLTThreeViews

      @Test void testGeneralPointsEssentialDLTThreeViews() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • reset

      private void reset()