Class PairedViewsSparseReconstructorTest

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

class PairedViewsSparseReconstructorTest 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:
    • viewCount

      private int viewCount
    • estimatedFundamentalMatrix

      private EstimatedFundamentalMatrix estimatedFundamentalMatrix
    • estimatedFundamentalMatrix2

      private EstimatedFundamentalMatrix estimatedFundamentalMatrix2
    • estimatedEuclideanCamera1

      private EstimatedCamera estimatedEuclideanCamera1
    • estimatedEuclideanCamera2

      private EstimatedCamera estimatedEuclideanCamera2
    • estimatedEuclideanCamera2b

      private EstimatedCamera estimatedEuclideanCamera2b
    • estimatedEuclideanCamera3

      private EstimatedCamera estimatedEuclideanCamera3
    • euclideanReconstructedPoints

      private List<ReconstructedPoint3D> euclideanReconstructedPoints
    • euclideanReconstructedPoints2

      private List<ReconstructedPoint3D> euclideanReconstructedPoints2
    • 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

    • PairedViewsSparseReconstructorTest

      PairedViewsSparseReconstructorTest()
  • 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
      Throws:
      InvalidPairOfCamerasException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.CameraException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.geometry.NotAvailableException
    • 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
    • testGeneralPointsEssentialThreeViews

      @Test void testGeneralPointsEssentialThreeViews() 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
    • testCancel

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

      private void reset()