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 doubleprivate intprivate intprivate 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 doubleprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckLocked(AlgebraicFundamentalMatrixComparator comparator) private FundamentalMatrixvoidonCompareEnd(FundamentalMatrixComparator comparator) voidonCompareProgressChange(FundamentalMatrixComparator comparator, float progress) voidonCompareStart(FundamentalMatrixComparator comparator) private voidreset()(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.AlgebraExceptionInvalidFundamentalMatrixException
-
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:
InvalidPairOfCamerasExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.estimators.LockedExceptionFundamentalMatrixComparatorException
-
onCompareStart
- Specified by:
onCompareStartin interfaceFundamentalMatrixComparatorListener
-
onCompareEnd
- Specified by:
onCompareEndin interfaceFundamentalMatrixComparatorListener
-
onCompareProgressChange
- Specified by:
onCompareProgressChangein interfaceFundamentalMatrixComparatorListener
-
reset
private void reset() -
checkLocked
-
createRandomFundamentalMatrix
private FundamentalMatrix createRandomFundamentalMatrix() throws com.irurueta.algebra.AlgebraException, InvalidFundamentalMatrixException- Throws:
com.irurueta.algebra.AlgebraExceptionInvalidFundamentalMatrixException
-