Package com.irurueta.ar.sfm
Class KnownBaselineTwoViewsSparseReconstructorTest
java.lang.Object
com.irurueta.ar.sfm.KnownBaselineTwoViewsSparseReconstructorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate booleanprivate EstimatedCameraprivate EstimatedCameraprivate EstimatedFundamentalMatrixprivate booleanprivate booleanprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate List<ReconstructedPoint3D> private booleanprivate static final intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidreset()(package private) voidsetUp()(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:
-
viewCount
private int viewCount -
estimatedFundamentalMatrix
-
estimatedCamera1
-
estimatedCamera2
-
reconstructedPoints
-
started
private boolean started -
finished
private boolean finished -
failed
private boolean failed -
cancelled
private boolean cancelled
-
-
Constructor Details
-
KnownBaselineTwoViewsSparseReconstructorTest
KnownBaselineTwoViewsSparseReconstructorTest()
-
-
Method Details
-
setUp
@BeforeEach void setUp() -
testConstructor
@Test void testConstructor() -
testGeneralPointsEssential
@Test void testGeneralPointsEssential() throws InvalidPairOfCamerasException, com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.NotReadyException, com.irurueta.algebra.LockedException, com.irurueta.algebra.DecomposerException, com.irurueta.algebra.NotAvailableException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.NotReadyExceptioncom.irurueta.algebra.LockedExceptioncom.irurueta.algebra.DecomposerExceptioncom.irurueta.algebra.NotAvailableExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableException
-
testGeneralPointsDIAC
@Test void testGeneralPointsDIAC() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException, com.irurueta.algebra.AlgebraException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableExceptioncom.irurueta.algebra.AlgebraException
-
testGeneralPointsDAQAndEssentialZeroPrincipalPoint
@Test void testGeneralPointsDAQAndEssentialZeroPrincipalPoint() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableException
-
testGeneralPointsDAQAndEssential
@Test void testGeneralPointsDAQAndEssential() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableException
-
testGeneralPointsDAQ
@Test void testGeneralPointsDAQ() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.numerical.robust.RobustEstimatorException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.estimators.LockedException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableExceptioncom.irurueta.geometry.estimators.LockedException
-
testPlanarPointsEssential
@Test void testPlanarPointsEssential() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableException
-
testPlanarPointsDIAC
@Test void testPlanarPointsDIAC() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableException
-
testPlanarPointsDAQAndEssentialZeroPrincipalPoint
@Test void testPlanarPointsDAQAndEssentialZeroPrincipalPoint() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableException
-
testPlanarPointsDAQAndEssential
@Test void testPlanarPointsDAQAndEssential() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableException
-
testPlanarPointsDAQ
@Test void testPlanarPointsDAQ() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableException
-
reset
private void reset()
-