Package com.irurueta.ar.sfm
Class EssentialMatrixInitialCamerasEstimatorTest
java.lang.Object
com.irurueta.ar.sfm.EssentialMatrixInitialCamerasEstimatorTest
- All Implemented Interfaces:
InitialCamerasEstimatorListener
class EssentialMatrixInitialCamerasEstimatorTest
extends Object
implements InitialCamerasEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidvoidvoidonFinish(InitialCamerasEstimator estimator, com.irurueta.geometry.PinholeCamera estimatedLeftCamera, com.irurueta.geometry.PinholeCamera estimatedRightCamera) voidonStart(InitialCamerasEstimator estimator) (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(package private) void(package private) void(package private) void
-
Field Details
-
MIN_FOCAL_LENGTH
private static final double MIN_FOCAL_LENGTH- See Also:
-
MAX_FOCAL_LENGTH
private static final double MAX_FOCAL_LENGTH- 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
private static final double MIN_CAMERA_SEPARATION- See Also:
-
MAX_CAMERA_SEPARATION
private static final double MAX_CAMERA_SEPARATION- 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_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
MIN_LAMBDA
private static final double MIN_LAMBDA- See Also:
-
MAX_LAMBDA
private static final double MAX_LAMBDA- See Also:
-
TIMES
private static final int TIMES- See Also:
-
MAX_TRIES
private static final int MAX_TRIES- See Also:
-
-
Constructor Details
-
EssentialMatrixInitialCamerasEstimatorTest
EssentialMatrixInitialCamerasEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetFundamentalMatrix
@Test void testGetSetFundamentalMatrix() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetListener
@Test void testGetSetListener() -
testGetSetLeftIntrinsic
@Test void testGetSetLeftIntrinsic() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetRightIntrinsic
@Test void testGetSetRightIntrinsic() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testSetLeftAndRightIntrinsics
@Test void testSetLeftAndRightIntrinsics() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testSetIntrinsicsForBoth
@Test void testSetIntrinsicsForBoth() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetLeftPoints
@Test void testGetSetLeftPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetRightPoints
@Test void testGetSetRightPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testSetLeftAndRightPoints
@Test void testSetLeftAndRightPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetCorrectorType
@Test void testGetSetCorrectorType() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testAreSetPointsTriangulated
@Test void testAreSetPointsTriangulated() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testAreValidTriangulatedPointsMarked
@Test void testAreValidTriangulatedPointsMarked() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testEstimate
@Test void testEstimate() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, InitialCamerasEstimationFailedException, com.irurueta.geometry.NotAvailableException, InvalidFundamentalMatrixException, com.irurueta.algebra.AlgebraException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptionInitialCamerasEstimationFailedExceptioncom.irurueta.geometry.NotAvailableExceptionInvalidFundamentalMatrixExceptioncom.irurueta.algebra.AlgebraException
-
testGenerateInitialMetricCamerasFromEssentialMatrix1
@Test void testGenerateInitialMetricCamerasFromEssentialMatrix1() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, InitialCamerasEstimationFailedException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.estimators.NotReadyException, InvalidFundamentalMatrixException, com.irurueta.algebra.AlgebraException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptionInitialCamerasEstimationFailedExceptioncom.irurueta.geometry.NotAvailableExceptioncom.irurueta.geometry.estimators.NotReadyExceptionInvalidFundamentalMatrixExceptioncom.irurueta.algebra.AlgebraException
-
testGenerateInitialMetricCamerasFromEssentialMatrix2
@Test void testGenerateInitialMetricCamerasFromEssentialMatrix2() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, InitialCamerasEstimationFailedException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.estimators.NotReadyException, InvalidFundamentalMatrixException, com.irurueta.algebra.AlgebraException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptionInitialCamerasEstimationFailedExceptioncom.irurueta.geometry.NotAvailableExceptioncom.irurueta.geometry.estimators.NotReadyExceptionInvalidFundamentalMatrixExceptioncom.irurueta.algebra.AlgebraException
-
testGenerateInitialMetricCamerasFromEssentialMatrix3
@Test void testGenerateInitialMetricCamerasFromEssentialMatrix3() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, InitialCamerasEstimationFailedException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.estimators.NotReadyException, InvalidFundamentalMatrixException, com.irurueta.algebra.AlgebraException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptionInitialCamerasEstimationFailedExceptioncom.irurueta.geometry.NotAvailableExceptioncom.irurueta.geometry.estimators.NotReadyExceptionInvalidFundamentalMatrixExceptioncom.irurueta.algebra.AlgebraException
-
testGenerateInitialMetricCamerasFromEssentialMatrix4
@Test void testGenerateInitialMetricCamerasFromEssentialMatrix4() throws InvalidPairOfCamerasException, com.irurueta.geometry.CameraException, InitialCamerasEstimationFailedException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.estimators.NotReadyException, InvalidFundamentalMatrixException, com.irurueta.algebra.AlgebraException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.CameraExceptionInitialCamerasEstimationFailedExceptioncom.irurueta.geometry.NotAvailableExceptioncom.irurueta.geometry.estimators.NotReadyExceptionInvalidFundamentalMatrixExceptioncom.irurueta.algebra.AlgebraException
-
onStart
- Specified by:
onStartin interfaceInitialCamerasEstimatorListener
-
onFinish
public void onFinish(InitialCamerasEstimator estimator, com.irurueta.geometry.PinholeCamera estimatedLeftCamera, com.irurueta.geometry.PinholeCamera estimatedRightCamera) - Specified by:
onFinishin interfaceInitialCamerasEstimatorListener
-
onFail
- Specified by:
onFailin interfaceInitialCamerasEstimatorListener
-
checkLocked
-