Class LMedSFundamentalMatrixRobustEstimatorTest
java.lang.Object
com.irurueta.ar.epipolar.estimators.LMedSFundamentalMatrixRobustEstimatorTest
- All Implemented Interfaces:
FundamentalMatrixRobustEstimatorListener
class LMedSFundamentalMatrixRobustEstimatorTest
extends Object
implements FundamentalMatrixRobustEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private int
private int
private int
private int
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 double
private static final double
private static final int
private static final double
private static final double
private static final int
private static final int
private static final int
private static final double
private static final int
private static final double
private static final double
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
checkLocked
(LMedSFundamentalMatrixRobustEstimator estimator) void
onEstimateEnd
(FundamentalMatrixRobustEstimator estimator) void
onEstimateNextIteration
(FundamentalMatrixRobustEstimator estimator, int iteration) void
onEstimateProgressChange
(FundamentalMatrixRobustEstimator estimator, float progress) void
onEstimateStart
(FundamentalMatrixRobustEstimator estimator) private void
reset()
(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_REQUIRED_POINTS_AFFINE
private static final int MIN_REQUIRED_POINTS_AFFINE- See Also:
-
MIN_REQUIRED_POINTS_7
private static final int MIN_REQUIRED_POINTS_7- See Also:
-
MIN_REQUIRED_POINTS_8
private static final int MIN_REQUIRED_POINTS_8- See Also:
-
MIN_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
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_FOCAL_LENGTH
private static final double MIN_FOCAL_LENGTH- See Also:
-
MAX_FOCAL_LENGTH
private static final double MAX_FOCAL_LENGTH- See Also:
-
MIN_SKEWNESS
private static final double MIN_SKEWNESS- See Also:
-
MAX_SKEWNESS
private static final double MAX_SKEWNESS- See Also:
-
MIN_PRINCIPAL_POINT
private static final double MIN_PRINCIPAL_POINT- See Also:
-
MAX_PRINCIPAL_POINT
private static final double MAX_PRINCIPAL_POINT- 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:
-
TIMES
private static final int TIMES- See Also:
-
PERCENTAGE_OUTLIERS
private static final int PERCENTAGE_OUTLIERS- See Also:
-
STD_ERROR
private static final double STD_ERROR- See Also:
-
STOP_THRESHOLD
private static final double STOP_THRESHOLD- See Also:
-
estimateStart
private int estimateStart -
estimateEnd
private int estimateEnd -
estimateNextIteration
private int estimateNextIteration -
estimateProgressChange
private int estimateProgressChange
-
-
Constructor Details
-
LMedSFundamentalMatrixRobustEstimatorTest
LMedSFundamentalMatrixRobustEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetNonRobustFundamentalMatrixEstimatorMethod
@Test void testGetSetNonRobustFundamentalMatrixEstimatorMethod() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetStopThreshold
@Test void testGetSetStopThreshold() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetPointsAndIsReady
@Test void testGetSetPointsAndIsReady() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetListenerAndIsListenerAvailable
@Test void testGetSetListenerAndIsListenerAvailable() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetProgressDelta
@Test void testGetSetProgressDelta() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetConfidence
@Test void testGetSetConfidence() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetMaxIterations
@Test void testGetSetMaxIterations() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsSetResultRefined
@Test void testIsSetResultRefined() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsSetCovarianceKept
@Test void testIsSetCovarianceKept() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetQualityScores
@Test void testGetSetQualityScores() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testEstimateSevenPointsWithRefinement
@Test void testEstimateSevenPointsWithRefinement() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testEstimateEightPointsWithRefinement
@Test void testEstimateEightPointsWithRefinement() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testEstimateAffineWithRefinement
@Test void testEstimateAffineWithRefinement() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException, com.irurueta.algebra.WrongSizeException, InvalidPairOfCamerasException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
com.irurueta.algebra.WrongSizeException
InvalidPairOfCamerasException
-
testEstimateSevenPointsWithoutRefinement
@Test void testEstimateSevenPointsWithoutRefinement() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testEstimateEightPointsWithoutRefinement
@Test void testEstimateEightPointsWithoutRefinement() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testEstimateAffineWithoutRefinement
@Test void testEstimateAffineWithoutRefinement() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException, com.irurueta.algebra.WrongSizeException, InvalidPairOfCamerasException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
com.irurueta.algebra.WrongSizeException
InvalidPairOfCamerasException
-
onEstimateStart
- Specified by:
onEstimateStart
in interfaceFundamentalMatrixRobustEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEnd
in interfaceFundamentalMatrixRobustEstimatorListener
-
onEstimateNextIteration
- Specified by:
onEstimateNextIteration
in interfaceFundamentalMatrixRobustEstimatorListener
-
onEstimateProgressChange
- Specified by:
onEstimateProgressChange
in interfaceFundamentalMatrixRobustEstimatorListener
-
reset
private void reset() -
checkLocked
-