Class LMSERadialDistortionEstimatorTest
java.lang.Object
com.irurueta.ar.calibration.estimators.LMSERadialDistortionEstimatorTest
- All Implemented Interfaces:
RadialDistortionEstimatorListener
-
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 int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonEstimateEnd(RadialDistortionEstimator estimator) voidonEstimateStart(RadialDistortionEstimator estimator) voidonEstimationProgressChange(RadialDistortionEstimator estimator, float progress) 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) void(package private) voidprivate static voidtestLocked(LMSERadialDistortionEstimator estimator) (package private) void
-
Field Details
-
MIN_POINT_VALUE
private static final double MIN_POINT_VALUE- See Also:
-
MAX_POINT_VALUE
private static final double MAX_POINT_VALUE- See Also:
-
MIN_PARAM_VALUE
private static final double MIN_PARAM_VALUE- See Also:
-
MAX_PARAM_VALUE
private static final double MAX_PARAM_VALUE- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
NUM_POINTS
private static final int NUM_POINTS- See Also:
-
estimateStart
private int estimateStart -
estimateEnd
private int estimateEnd -
estimationProgressChange
private int estimationProgressChange
-
-
Constructor Details
-
LMSERadialDistortionEstimatorTest
LMSERadialDistortionEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetDistortedUndistortedPoints
@Test void testGetSetDistortedUndistortedPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetDistortionCenter
@Test void testGetSetDistortionCenter() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetHorizontalFocalLength
@Test void testGetSetHorizontalFocalLength() throws com.irurueta.geometry.estimators.LockedException, RadialDistortionException- Throws:
com.irurueta.geometry.estimators.LockedExceptionRadialDistortionException
-
testGetSetVerticalFocalLength
@Test void testGetSetVerticalFocalLength() throws com.irurueta.geometry.estimators.LockedException, RadialDistortionException- Throws:
com.irurueta.geometry.estimators.LockedExceptionRadialDistortionException
-
testGetSetSkew
@Test void testGetSetSkew() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testSetIntrinsic
@Test void testSetIntrinsic() throws com.irurueta.geometry.estimators.LockedException, RadialDistortionException- Throws:
com.irurueta.geometry.estimators.LockedExceptionRadialDistortionException
-
testGetSetNumKParamsAndGetMinNumberOfMatchedPoints
@Test void testGetSetNumKParamsAndGetMinNumberOfMatchedPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsSetLMSESolutionAllowed
@Test void testIsSetLMSESolutionAllowed() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testAreValidPoints
@Test void testAreValidPoints() -
testEstimate
@Test void testEstimate() throws com.irurueta.geometry.NotSupportedException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, RadialDistortionEstimatorException, DistortionException- Throws:
com.irurueta.geometry.NotSupportedExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptionRadialDistortionEstimatorExceptionDistortionException
-
onEstimateStart
- Specified by:
onEstimateStartin interfaceRadialDistortionEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEndin interfaceRadialDistortionEstimatorListener
-
onEstimationProgressChange
- Specified by:
onEstimationProgressChangein interfaceRadialDistortionEstimatorListener
-
reset
private void reset() -
testLocked
-