Package com.irurueta.ar.epipolar
Class AlgebraicFundamentalMatrixComparatorTest
java.lang.Object
com.irurueta.ar.epipolar.AlgebraicFundamentalMatrixComparatorTest
- All Implemented Interfaces:
FundamentalMatrixComparatorListener
class AlgebraicFundamentalMatrixComparatorTest
extends Object
implements FundamentalMatrixComparatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private 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 double
private static final double
private static final double
private static final double
private static final double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkLocked
(AlgebraicFundamentalMatrixComparator comparator) private FundamentalMatrix
void
onCompareEnd
(FundamentalMatrixComparator comparator) void
onCompareProgressChange
(FundamentalMatrixComparator comparator, float progress) void
onCompareStart
(FundamentalMatrixComparator comparator) private void
reset()
(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_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:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
compareStart
private int compareStart -
compareEnd
private int compareEnd
-
-
Constructor Details
-
AlgebraicFundamentalMatrixComparatorTest
AlgebraicFundamentalMatrixComparatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws com.irurueta.algebra.AlgebraException, InvalidFundamentalMatrixException- Throws:
com.irurueta.algebra.AlgebraException
InvalidFundamentalMatrixException
-
testGetSetGroundTruthFundamentalMatrix
@Test void testGetSetGroundTruthFundamentalMatrix() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetOtherFundamentalMatrix
@Test void testGetSetOtherFundamentalMatrix() 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
-
testCompare
@Test void testCompare() throws InvalidPairOfCamerasException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.estimators.LockedException, FundamentalMatrixComparatorException- Throws:
InvalidPairOfCamerasException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.estimators.LockedException
FundamentalMatrixComparatorException
-
onCompareStart
- Specified by:
onCompareStart
in interfaceFundamentalMatrixComparatorListener
-
onCompareEnd
- Specified by:
onCompareEnd
in interfaceFundamentalMatrixComparatorListener
-
onCompareProgressChange
- Specified by:
onCompareProgressChange
in interfaceFundamentalMatrixComparatorListener
-
reset
private void reset() -
checkLocked
-
createRandomFundamentalMatrix
private FundamentalMatrix createRandomFundamentalMatrix() throws com.irurueta.algebra.AlgebraException, InvalidFundamentalMatrixException- Throws:
com.irurueta.algebra.AlgebraException
InvalidFundamentalMatrixException
-