Class EightPointsFundamentalMatrixEstimatorTest
java.lang.Object
com.irurueta.ar.epipolar.estimators.EightPointsFundamentalMatrixEstimatorTest
- All Implemented Interfaces:
FundamentalMatrixEstimatorListener
class EightPointsFundamentalMatrixEstimatorTest
extends Object
implements FundamentalMatrixEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
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 double
private static final double
private static final 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onEstimateEnd
(FundamentalMatrixEstimator estimator, FundamentalMatrix fundamentalMatrix) void
onEstimateStart
(FundamentalMatrixEstimator 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
private void
testLocked
(EightPointsFundamentalMatrixEstimator estimator)
-
Field Details
-
MIN_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
VERY_LARGE_ABSOLUTE_ERROR
private static final double VERY_LARGE_ABSOLUTE_ERROR- See Also:
-
ULTRA_LARGE_ABSOLUTE_ERROR
private static final double ULTRA_LARGE_ABSOLUTE_ERROR- See Also:
-
EXTREME_LARGE_ABSOLUTE_ERROR
private static final double EXTREME_LARGE_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:
-
estimateStart
private int estimateStart -
estimateEnd
private int estimateEnd
-
-
Constructor Details
-
EightPointsFundamentalMatrixEstimatorTest
EightPointsFundamentalMatrixEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testIsSetLMSESolutionAllowed
@Test void testIsSetLMSESolutionAllowed() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testAreSetPointsNormalized
@Test void testAreSetPointsNormalized() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetPoints
@Test void testGetSetPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetListener
@Test void testGetSetListener() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testEstimateNoLMSENoNormalization
@Test void testEstimateNoLMSENoNormalization() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, FundamentalMatrixEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
FundamentalMatrixEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testEstimateNoLMSENormalization
@Test void testEstimateNoLMSENormalization() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, FundamentalMatrixEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
FundamentalMatrixEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testEstimateLMSENoNormalization
@Test void testEstimateLMSENoNormalization() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, FundamentalMatrixEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
FundamentalMatrixEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testEstimateLMSENormalization
@Test void testEstimateLMSENormalization() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, FundamentalMatrixEstimatorException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
FundamentalMatrixEstimatorException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
onEstimateStart
- Specified by:
onEstimateStart
in interfaceFundamentalMatrixEstimatorListener
-
onEstimateEnd
public void onEstimateEnd(FundamentalMatrixEstimator estimator, FundamentalMatrix fundamentalMatrix) - Specified by:
onEstimateEnd
in interfaceFundamentalMatrixEstimatorListener
-
reset
private void reset() -
testLocked
-