Package com.irurueta.ar.epipolar
Class SampsonCorrectorTest
java.lang.Object
com.irurueta.ar.epipolar.SampsonCorrectorTest
- All Implemented Interfaces:
CorrectorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate intprivate intprivate intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckLocked(SampsonCorrector corrector) voidonCorrectEnd(Corrector corrector) voidonCorrectProgressChange(Corrector corrector, float progress) voidonCorrectStart(Corrector corrector) 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
-
Field Details
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
MIN_PROJECTED_ERROR
private static final double MIN_PROJECTED_ERROR- See Also:
-
MAX_PROJECTED_ERROR
private static final double MAX_PROJECTED_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:
-
MIN_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
TIMES
private static final int TIMES- See Also:
-
correctStart
private int correctStart -
correctEnd
private int correctEnd -
correctProgressChange
private int correctProgressChange
-
-
Constructor Details
-
SampsonCorrectorTest
SampsonCorrectorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.NotReadyException, com.irurueta.algebra.DecomposerException, com.irurueta.algebra.NotAvailableException, InvalidFundamentalMatrixException, com.irurueta.algebra.LockedException- Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.NotReadyExceptioncom.irurueta.algebra.DecomposerExceptioncom.irurueta.algebra.NotAvailableExceptionInvalidFundamentalMatrixExceptioncom.irurueta.algebra.LockedException
-
testGetSetFundamentalMatrix
@Test void testGetSetFundamentalMatrix() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetLeftAndRightPoints
@Test void testGetSetLeftAndRightPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetPointsAndFundamentalMatrix
@Test void testGetSetPointsAndFundamentalMatrix() 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
-
testGetSetListener
@Test void testGetSetListener() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testAreValidPoints
@Test void testAreValidPoints() -
testCorrect
@Test void testCorrect() throws com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.estimators.LockedException
-
onCorrectStart
- Specified by:
onCorrectStartin interfaceCorrectorListener
-
onCorrectEnd
- Specified by:
onCorrectEndin interfaceCorrectorListener
-
onCorrectProgressChange
- Specified by:
onCorrectProgressChangein interfaceCorrectorListener
-
reset
private void reset() -
checkLocked
-