Class RANSACRadialDistortionRobustEstimatorTest
java.lang.Object
com.irurueta.ar.calibration.estimators.RANSACRadialDistortionRobustEstimatorTest
- All Implemented Interfaces:
RadialDistortionRobustEstimatorListener
class RANSACRadialDistortionRobustEstimatorTest
extends Object
implements RadialDistortionRobustEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private int
private int
private int
private int
private static final int
private static final double
private static final double
private static final int
private static final double
private static final double
private static final int
private static final double
private static final double
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkLocked
(RANSACRadialDistortionRobustEstimator estimator) void
onEstimateEnd
(RadialDistortionRobustEstimator estimator) void
onEstimateNextIteration
(RadialDistortionRobustEstimator estimator, int iteration) void
onEstimateProgressChange
(RadialDistortionRobustEstimator estimator, float progress) void
onEstimateStart
(RadialDistortionRobustEstimator estimator) 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
(package private) void
(package private) void
(package private) void
(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:
-
MIN_NUM_POINTS
private static final int MIN_NUM_POINTS- See Also:
-
MAX_NUM_POINTS
private static final int MAX_NUM_POINTS- See Also:
-
THRESHOLD
private static final double THRESHOLD- See Also:
-
STD_ERROR
private static final double STD_ERROR- See Also:
-
PERCENTAGE_OUTLIER
private static final int PERCENTAGE_OUTLIER- See Also:
-
TIMES
private static final int TIMES- See Also:
-
estimateStart
private int estimateStart -
estimateEnd
private int estimateEnd -
estimateNextIteration
private int estimateNextIteration -
estimateProgressChange
private int estimateProgressChange
-
-
Constructor Details
-
RANSACRadialDistortionRobustEstimatorTest
RANSACRadialDistortionRobustEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetQualityScores
@Test void testGetSetQualityScores() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetThreshold
@Test void testGetSetThreshold() 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
-
testGetSetProgressDelta
@Test void testGetSetProgressDelta() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetConfidence
@Test void testGetSetConfidence() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetMaxIterations
@Test void testGetSetMaxIterations() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetPoints
@Test void testGetSetPoints() 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- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetVerticalFocalLength
@Test void testGetSetVerticalFocalLength() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetSkew
@Test void testGetSetSkew() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetIntrinsic
@Test void testGetSetIntrinsic() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetNumKParams
@Test void testGetSetNumKParams() 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, com.irurueta.numerical.robust.RobustEstimatorException, DistortionException- Throws:
com.irurueta.geometry.NotSupportedException
com.irurueta.geometry.estimators.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
DistortionException
-
onEstimateStart
- Specified by:
onEstimateStart
in interfaceRadialDistortionRobustEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEnd
in interfaceRadialDistortionRobustEstimatorListener
-
onEstimateNextIteration
- Specified by:
onEstimateNextIteration
in interfaceRadialDistortionRobustEstimatorListener
-
onEstimateProgressChange
- Specified by:
onEstimateProgressChange
in interfaceRadialDistortionRobustEstimatorListener
-
reset
private void reset() -
checkLocked
-