Class PROSACImageOfAbsoluteConicRobustEstimatorTest
java.lang.Object
com.irurueta.ar.calibration.estimators.PROSACImageOfAbsoluteConicRobustEstimatorTest
- All Implemented Interfaces:
ImageOfAbsoluteConicRobustEstimatorListener
class PROSACImageOfAbsoluteConicRobustEstimatorTest
extends Object
implements ImageOfAbsoluteConicRobustEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate intprivate intprivate intprivate intprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doublestatic final intstatic final doubleprivate final com.irurueta.geometry.Point2Dprivate static final doublestatic final intprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate doubleavgHomographyResidual(com.irurueta.geometry.ProjectiveTransformation2D homography, List<com.irurueta.geometry.Point2D> inputPoints, List<com.irurueta.geometry.Point2D> outputPoints) private doublehomographyResidual(com.irurueta.geometry.ProjectiveTransformation2D homography, com.irurueta.geometry.Point2D inputPoint, com.irurueta.geometry.Point2D outputPoint) voidonEstimateEnd(ImageOfAbsoluteConicRobustEstimator estimator) voidonEstimateNextIteration(ImageOfAbsoluteConicRobustEstimator estimator, int iteration) voidonEstimateProgressChange(ImageOfAbsoluteConicRobustEstimator estimator, float progress) voidprivate 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) voidprivate void
-
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_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:
-
VERY_LARGE_ABSOLUTE_ERROR
private static final double VERY_LARGE_ABSOLUTE_ERROR- See Also:
-
MIN_NUM_HOMOGRAPHIES
private static final int MIN_NUM_HOMOGRAPHIES- See Also:
-
MAX_NUM_HOMOGRAPHIES
private static final int MAX_NUM_HOMOGRAPHIES- See Also:
-
THRESHOLD
private static final double THRESHOLD- See Also:
-
LARGE_THRESHOLD
private static final double LARGE_THRESHOLD- See Also:
-
TIMES
public static final int TIMES- See Also:
-
PERCENTAGE_OUTLIERS
public static final int PERCENTAGE_OUTLIERS- See Also:
-
STD_ERROR
public static final double STD_ERROR- See Also:
-
estimateStart
private int estimateStart -
estimateEnd
private int estimateEnd -
estimateNextIteration
private int estimateNextIteration -
estimateProgressChange
private int estimateProgressChange -
testPoint
private final com.irurueta.geometry.Point2D testPoint
-
-
Constructor Details
-
PROSACImageOfAbsoluteConicRobustEstimatorTest
PROSACImageOfAbsoluteConicRobustEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetThreshold
@Test void testGetSetThreshold() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
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
-
testIsSetFocalDistanceAspectRatioKnown
@Test void testIsSetFocalDistanceAspectRatioKnown() 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
-
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
-
testGetSetHomographiesAndIsReady
@Test void testGetSetHomographiesAndIsReady() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetQualityScores
@Test void testGetSetQualityScores() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testEstimateCirclesPattern
@Test void testEstimateCirclesPattern() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testEstimateQRPattern
@Test void testEstimateQRPattern() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testEstimateRealData
@Test void testEstimateRealData() throws com.irurueta.geometry.CoincidentPointsException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException- Throws:
com.irurueta.geometry.CoincidentPointsExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptioncom.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException
-
onEstimateStart
- Specified by:
onEstimateStartin interfaceImageOfAbsoluteConicRobustEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEndin interfaceImageOfAbsoluteConicRobustEstimatorListener
-
onEstimateNextIteration
- Specified by:
onEstimateNextIterationin interfaceImageOfAbsoluteConicRobustEstimatorListener
-
onEstimateProgressChange
- Specified by:
onEstimateProgressChangein interfaceImageOfAbsoluteConicRobustEstimatorListener
-
homographyResidual
private double homographyResidual(com.irurueta.geometry.ProjectiveTransformation2D homography, com.irurueta.geometry.Point2D inputPoint, com.irurueta.geometry.Point2D outputPoint) -
avgHomographyResidual
-
reset
private void reset() -
testLocked
-