Class WeightedRadialDistortionEstimatorTest
java.lang.Object
com.irurueta.ar.calibration.estimators.WeightedRadialDistortionEstimatorTest
- All Implemented Interfaces:
RadialDistortionEstimatorListener
class WeightedRadialDistortionEstimatorTest
extends Object
implements 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 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) void(package private) voidprivate static voidtestLocked(WeightedRadialDistortionEstimator 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:
-
MIN_WEIGHT_VALUE
private static final double MIN_WEIGHT_VALUE- See Also:
-
MAX_WEIGHT_VALUE
private static final double MAX_WEIGHT_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
-
WeightedRadialDistortionEstimatorTest
WeightedRadialDistortionEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetListsAndWeights
@Test void testGetSetListsAndWeights() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testAreValidPointsAndWeights
@Test void testAreValidPointsAndWeights() -
testGetSetMaxPoints
@Test void testGetSetMaxPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsSetSortWeightsEnabled
@Test void testIsSetSortWeightsEnabled() 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
-
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
-