Class LMSEImageOfAbsoluteConicEstimatorTest
java.lang.Object
com.irurueta.ar.calibration.estimators.LMSEImageOfAbsoluteConicEstimatorTest
- All Implemented Interfaces:
ImageOfAbsoluteConicEstimatorListener
class LMSEImageOfAbsoluteConicEstimatorTest
extends Object
implements ImageOfAbsoluteConicEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate intprivate intprivate intprivate 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 doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonEstimateEnd(ImageOfAbsoluteConicEstimator estimator) voidonEstimateStart(ImageOfAbsoluteConicEstimator estimator) voidonEstimationProgressChange(ImageOfAbsoluteConicEstimator 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) 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 voidtestLocked(LMSEImageOfAbsoluteConicEstimator estimator)
-
Field Details
-
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:
-
INHOM_3D_COORDS
private static final int INHOM_3D_COORDS- 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:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
VERY_LARGE_ABSOLUTE_ERROR
private static final double VERY_LARGE_ABSOLUTE_ERROR- See Also:
-
ULTRA_LARGE_ABSOLUTE_ERROR
private static final double ULTRA_LARGE_ABSOLUTE_ERROR- See Also:
-
TIMES
private static final int TIMES- See Also:
-
estimateStart
private int estimateStart -
estimateEnd
private int estimateEnd -
estimationProgressChange
private int estimationProgressChange
-
-
Constructor Details
-
LMSEImageOfAbsoluteConicEstimatorTest
LMSEImageOfAbsoluteConicEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testIsSetZeroSkewness
@Test void testIsSetZeroSkewness() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsSetPrincipalPointAtOrigin
@Test void testIsSetPrincipalPointAtOrigin() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsFocalDistanceAspectRatioKnown
@Test void testIsFocalDistanceAspectRatioKnown() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetFocalDistanceAspectRatio
@Test void testGetSetFocalDistanceAspectRatio() 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
-
testGetSetHomographiesAndIsReady
@Test void testGetSetHomographiesAndIsReady() 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
-
testEstimateNoConstraintsAndNoLMSE
@Test void testEstimateNoConstraintsAndNoLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateNoConstraintsAndLMSE
@Test void testEstimateNoConstraintsAndLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateZeroSkewnessAndNoLMSE
@Test void testEstimateZeroSkewnessAndNoLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateZeroSkewnessAndLMSE
@Test void testEstimateZeroSkewnessAndLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimatePrincipalPointAtOriginAndNoLMSE
@Test void testEstimatePrincipalPointAtOriginAndNoLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimatePrincipalPointAtOriginAndLMSE
@Test void testEstimatePrincipalPointAtOriginAndLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateZeroSkewnessPrincipalPointAtOriginAndNoLMSE
@Test void testEstimateZeroSkewnessPrincipalPointAtOriginAndNoLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateZeroSkewnessPrincipalPointAtOriginAndLMSE
@Test void testEstimateZeroSkewnessPrincipalPointAtOriginAndLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateZeroSkewnessAspectRatioKnownAndNoLMSE
@Test void testEstimateZeroSkewnessAspectRatioKnownAndNoLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateZeroSkewnessAspectRatioKnownAndLMSE
@Test void testEstimateZeroSkewnessAspectRatioKnownAndLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateZeroSkewnessPrincipalPointAtOriginAspectRatioKnownAndNoLMSE
@Test void testEstimateZeroSkewnessPrincipalPointAtOriginAspectRatioKnownAndNoLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateZeroSkewnessPrincipalPointAtOriginAspectRatioKnownAndLMSE
@Test void testEstimateZeroSkewnessPrincipalPointAtOriginAspectRatioKnownAndLMSE() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, ImageOfAbsoluteConicEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionImageOfAbsoluteConicEstimatorException
-
testEstimateRealData
@Test void testEstimateRealData() throws com.irurueta.geometry.CoincidentPointsException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, ImageOfAbsoluteConicEstimatorException, com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException- Throws:
com.irurueta.geometry.CoincidentPointsExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptionImageOfAbsoluteConicEstimatorExceptioncom.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException
-
onEstimateStart
- Specified by:
onEstimateStartin interfaceImageOfAbsoluteConicEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEndin interfaceImageOfAbsoluteConicEstimatorListener
-
onEstimationProgressChange
- Specified by:
onEstimationProgressChangein interfaceImageOfAbsoluteConicEstimatorListener
-
reset
private void reset() -
testLocked
-