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 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 int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onEstimateEnd
(RadialDistortionEstimator estimator) void
onEstimateStart
(RadialDistortionEstimator estimator) void
onEstimationProgressChange
(RadialDistortionEstimator estimator, float progress) 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
(package private) void
(package private) void
private static void
testLocked
(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.LockedException
RadialDistortionException
-
testGetSetVerticalFocalLength
@Test void testGetSetVerticalFocalLength() throws com.irurueta.geometry.estimators.LockedException, RadialDistortionException- Throws:
com.irurueta.geometry.estimators.LockedException
RadialDistortionException
-
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.LockedException
RadialDistortionException
-
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.NotSupportedException
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
RadialDistortionEstimatorException
DistortionException
-
onEstimateStart
- Specified by:
onEstimateStart
in interfaceRadialDistortionEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEnd
in interfaceRadialDistortionEstimatorListener
-
onEstimationProgressChange
- Specified by:
onEstimationProgressChange
in interfaceRadialDistortionEstimatorListener
-
reset
private void reset() -
testLocked
-