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 double
private int
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 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
(package private) void
(package private) void
(package private) void
(package private) void
private 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.AlgebraException
InvalidFundamentalMatrixException
-
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:
InvalidPairOfCamerasException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.estimators.LockedException
FundamentalMatrixComparatorException
-
reset
private void reset() -
onCompareStart
- Specified by:
onCompareStart
in interfaceFundamentalMatrixComparatorListener
-
onCompareEnd
- Specified by:
onCompareEnd
in interfaceFundamentalMatrixComparatorListener
-
onCompareProgressChange
- Specified by:
onCompareProgressChange
in interfaceFundamentalMatrixComparatorListener
-
testLocked
-
createRandomFundamentalMatrix
private FundamentalMatrix createRandomFundamentalMatrix() throws com.irurueta.algebra.AlgebraException, InvalidFundamentalMatrixException- Throws:
com.irurueta.algebra.AlgebraException
InvalidFundamentalMatrixException
-