Package com.irurueta.ar.sfm
Class SparseReconstructorTest
java.lang.Object
com.irurueta.ar.sfm.SparseReconstructorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private boolean
private EstimatedCamera
private EstimatedCamera
private EstimatedCamera
private EstimatedFundamentalMatrix
private EstimatedFundamentalMatrix
private EstimatedCamera
private EstimatedCamera
private EstimatedCamera
private List<ReconstructedPoint3D>
private boolean
private boolean
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private static final double
private static final int
private List<ReconstructedPoint3D>
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private static final double
private static final int
private static final double
private double
private double
private boolean
private static final int
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
reset()
(package private) void
setUp()
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
-
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
-
estimatedFundamentalMatrix2
-
estimatedMetricCamera1
-
estimatedMetricCamera2
-
estimatedMetricCamera3
-
estimatedEuclideanCamera1
-
estimatedEuclideanCamera2
-
estimatedEuclideanCamera3
-
metricReconstructedPoints
-
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()
-