Package com.irurueta.ar.epipolar
Class EpipolarDistanceFundamentalMatrixComparatorTest
java.lang.Object
com.irurueta.ar.epipolar.EpipolarDistanceFundamentalMatrixComparatorTest
- All Implemented Interfaces:
FundamentalMatrixComparatorListener
class EpipolarDistanceFundamentalMatrixComparatorTest
extends Object
implements FundamentalMatrixComparatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate intprivate 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 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(package private) void(package private) void(package private) void(package private) voidprivate static 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 -
compareProgressChange
private int compareProgressChange
-
-
Constructor Details
-
EpipolarDistanceFundamentalMatrixComparatorTest
EpipolarDistanceFundamentalMatrixComparatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws com.irurueta.algebra.AlgebraException, InvalidFundamentalMatrixException- Throws:
com.irurueta.algebra.AlgebraExceptionInvalidFundamentalMatrixException
-
testGetSetMinMaxX
@Test void testGetSetMinMaxX() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetMinMaxY
@Test void testGetSetMinMaxY() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetNSamples
@Test void testGetSetNSamples() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetMinMaxHorizontalDisparityFactor
@Test void testGetSetMinMaxHorizontalDisparityFactor() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetMinMaxVerticalDisparityFactor
@Test void testGetSetMinMaxVerticalDisparityFactor() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetMaxIterationsFactor
@Test void testGetSetMaxIterationsFactor() 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
-
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
-
reset
private void reset() -
onCompareStart
- Specified by:
onCompareStartin interfaceFundamentalMatrixComparatorListener
-
onCompareEnd
- Specified by:
onCompareEndin interfaceFundamentalMatrixComparatorListener
-
onCompareProgressChange
- Specified by:
onCompareProgressChangein interfaceFundamentalMatrixComparatorListener
-
testLocked
-
createRandomFundamentalMatrix
private FundamentalMatrix createRandomFundamentalMatrix() throws com.irurueta.algebra.AlgebraException, InvalidFundamentalMatrixException- Throws:
com.irurueta.algebra.AlgebraExceptionInvalidFundamentalMatrixException
-