Package com.irurueta.ar.calibration
Class AlternatingCameraCalibratorTest
java.lang.Object
com.irurueta.ar.calibration.AlternatingCameraCalibratorTest
- All Implemented Interfaces:
CameraCalibratorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate intprivate intprivate intprivate static final intprivate intprivate intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final intprivate intprivate intprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckLocked(AlternatingCameraCalibrator calibrator) voidonCalibrateEnd(CameraCalibrator calibrator) voidonCalibrateProgressChange(CameraCalibrator calibrator, float progress) voidonCalibrateStart(CameraCalibrator calibrator) voidonIntrinsicParametersEstimationEnds(CameraCalibrator calibrator, com.irurueta.geometry.PinholeCameraIntrinsicParameters intrinsicParameters) voidvoidonRadialDistortionEstimationEnds(CameraCalibrator calibrator, RadialDistortion distortion) voidonRadialDistortionEstimationStarts(CameraCalibrator calibrator) 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) 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_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:
-
ULTRA_LARGE_ABSOLUTE_ERROR
private static final double ULTRA_LARGE_ABSOLUTE_ERROR- See Also:
-
MIN_NUM_SAMPLES
private static final int MIN_NUM_SAMPLES- See Also:
-
MAX_NUM_SAMPLES
private static final int MAX_NUM_SAMPLES- See Also:
-
TIMES
private static final int TIMES- See Also:
-
STD_ERROR
private static final double STD_ERROR- See Also:
-
PERCENTAGE_OUTLIERS
private static final int PERCENTAGE_OUTLIERS- See Also:
-
MIN_DISTORTION_PARAM_VALUE
private static final double MIN_DISTORTION_PARAM_VALUE- See Also:
-
MAX_DISTORTION_PARAM_VALUE
private static final double MAX_DISTORTION_PARAM_VALUE- See Also:
-
REAL_IAC_THRESHOLD
private static final double REAL_IAC_THRESHOLD- See Also:
-
calibrateStart
private int calibrateStart -
calibrateEnd
private int calibrateEnd -
calibrateProgressChange
private int calibrateProgressChange -
intrinsicParametersEstimationStarts
private int intrinsicParametersEstimationStarts -
intrinsicParametersEstimationEnds
private int intrinsicParametersEstimationEnds -
radialDistortionEstimationStarts
private int radialDistortionEstimationStarts -
radialDistortionEstimationEnds
private int radialDistortionEstimationEnds
-
-
Constructor Details
-
AlternatingCameraCalibratorTest
AlternatingCameraCalibratorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetPattern
@Test void testGetSetPattern() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetSamples
@Test void testGetSetSamples() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetSamplesQualityScores
@Test void testGetSetSamplesQualityScores() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetEstimateRadialDistortion
@Test void testGetSetEstimateRadialDistortion() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetHomographyMethod
@Test void testGetSetHomographyMethod() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetImageOfAbsoluteConicMethod
@Test void testGetSetImageOfAbsoluteConicMethod() 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
-
testGetSetProgressDelta
@Test void testGetSetProgressDelta() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetHomographyEstimatorThreshold
@Test void testGetSetHomographyEstimatorThreshold() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetHomographyEstimatorConfidence
@Test void testGetSetHomographyEstimatorConfidence() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetHomographyEstimatorMaxIterations
@Test void testGetSetHomographyEstimatorMaxIterations() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetIACEstimatorThreshold
@Test void testGetSetIACEstimatorThreshold() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetIACEstimatorConfidence
@Test void testGetSetIACEstimatorConfidence() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetIACEstimatorMaxIterations
@Test void testGetSetIACEstimatorMaxIterations() 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
-
testGetSetMaxIterations
@Test void testGetSetMaxIterations() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetConvergenceThreshold
@Test void testGetSetConvergenceThreshold() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetDistortionMethod
@Test void testGetSetDistortionMethod() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetDistortionEstimatorThreshold
@Test void testGetSetDistortionEstimatorThreshold() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetDistortionEstimatorConfidence
@Test void testGetSetDistortionEstimatorConfidence() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetDistortionEstimatorMaxIterations
@Test void testGetSetDistortionEstimatorMaxIterations() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testCalibrateCirclesPatternNoDistortion
@Test void testCalibrateCirclesPatternNoDistortion() throws com.irurueta.geometry.estimators.LockedException, CalibrationException, com.irurueta.geometry.estimators.NotReadyException- Throws:
com.irurueta.geometry.estimators.LockedExceptionCalibrationExceptioncom.irurueta.geometry.estimators.NotReadyException
-
testCalibrateQRPatternNoDistortion
@Test void testCalibrateQRPatternNoDistortion() throws com.irurueta.geometry.estimators.LockedException, CalibrationException, com.irurueta.geometry.estimators.NotReadyException- Throws:
com.irurueta.geometry.estimators.LockedExceptionCalibrationExceptioncom.irurueta.geometry.estimators.NotReadyException
-
testCalibrateCirclesPatternDistortion
@Test void testCalibrateCirclesPatternDistortion() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotSupportedException, DistortionException- Throws:
com.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotSupportedExceptionDistortionException
-
testCalibrateQRPatternDistortion
@Test void testCalibrateQRPatternDistortion() throws com.irurueta.geometry.estimators.LockedException, CalibrationException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotSupportedException, DistortionException- Throws:
com.irurueta.geometry.estimators.LockedExceptionCalibrationExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotSupportedExceptionDistortionException
-
testCalibrateCirclesPatternDistortionAndOutliers
@Test void testCalibrateCirclesPatternDistortionAndOutliers() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotSupportedException, DistortionException- Throws:
com.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotSupportedExceptionDistortionException
-
testCalibrateQRPatternDistortionAndOutliers
@Test void testCalibrateQRPatternDistortionAndOutliers() throws com.irurueta.geometry.estimators.LockedException, CalibrationException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotSupportedException, DistortionException- Throws:
com.irurueta.geometry.estimators.LockedExceptionCalibrationExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotSupportedExceptionDistortionException
-
testCalibrateMixedPatternDistortionAndOutliers
@Test void testCalibrateMixedPatternDistortionAndOutliers() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotSupportedException, DistortionException- Throws:
com.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotSupportedExceptionDistortionException
-
testCalibrateRealData
@Test void testCalibrateRealData() throws com.irurueta.geometry.estimators.LockedException, CalibrationException, com.irurueta.geometry.estimators.NotReadyException- Throws:
com.irurueta.geometry.estimators.LockedExceptionCalibrationExceptioncom.irurueta.geometry.estimators.NotReadyException
-
onCalibrateStart
- Specified by:
onCalibrateStartin interfaceCameraCalibratorListener
-
onCalibrateEnd
- Specified by:
onCalibrateEndin interfaceCameraCalibratorListener
-
onCalibrateProgressChange
- Specified by:
onCalibrateProgressChangein interfaceCameraCalibratorListener
-
onIntrinsicParametersEstimationStarts
- Specified by:
onIntrinsicParametersEstimationStartsin interfaceCameraCalibratorListener
-
onIntrinsicParametersEstimationEnds
public void onIntrinsicParametersEstimationEnds(CameraCalibrator calibrator, com.irurueta.geometry.PinholeCameraIntrinsicParameters intrinsicParameters) - Specified by:
onIntrinsicParametersEstimationEndsin interfaceCameraCalibratorListener
-
onRadialDistortionEstimationStarts
- Specified by:
onRadialDistortionEstimationStartsin interfaceCameraCalibratorListener
-
onRadialDistortionEstimationEnds
public void onRadialDistortionEstimationEnds(CameraCalibrator calibrator, RadialDistortion distortion) - Specified by:
onRadialDistortionEstimationEndsin interfaceCameraCalibratorListener
-
reset
private void reset() -
checkLocked
-