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 double
private int
private int
private int
private static final int
private int
private int
private static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private static final double
private static final int
private static final double
private static final int
private int
private int
private static final double
private static final double
private static final int
private static final double
private static final double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkLocked
(AlternatingCameraCalibrator calibrator) void
onCalibrateEnd
(CameraCalibrator calibrator) void
onCalibrateProgressChange
(CameraCalibrator calibrator, float progress) void
onCalibrateStart
(CameraCalibrator calibrator) void
onIntrinsicParametersEstimationEnds
(CameraCalibrator calibrator, com.irurueta.geometry.PinholeCameraIntrinsicParameters intrinsicParameters) void
void
onRadialDistortionEstimationEnds
(CameraCalibrator calibrator, RadialDistortion distortion) void
onRadialDistortionEstimationStarts
(CameraCalibrator calibrator) 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
(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.LockedException
CalibrationException
com.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.LockedException
CalibrationException
com.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.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotSupportedException
DistortionException
-
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.LockedException
CalibrationException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotSupportedException
DistortionException
-
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.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotSupportedException
DistortionException
-
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.LockedException
CalibrationException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotSupportedException
DistortionException
-
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.LockedException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotSupportedException
DistortionException
-
testCalibrateRealData
@Test void testCalibrateRealData() throws com.irurueta.geometry.estimators.LockedException, CalibrationException, com.irurueta.geometry.estimators.NotReadyException- Throws:
com.irurueta.geometry.estimators.LockedException
CalibrationException
com.irurueta.geometry.estimators.NotReadyException
-
onCalibrateStart
- Specified by:
onCalibrateStart
in interfaceCameraCalibratorListener
-
onCalibrateEnd
- Specified by:
onCalibrateEnd
in interfaceCameraCalibratorListener
-
onCalibrateProgressChange
- Specified by:
onCalibrateProgressChange
in interfaceCameraCalibratorListener
-
onIntrinsicParametersEstimationStarts
- Specified by:
onIntrinsicParametersEstimationStarts
in interfaceCameraCalibratorListener
-
onIntrinsicParametersEstimationEnds
public void onIntrinsicParametersEstimationEnds(CameraCalibrator calibrator, com.irurueta.geometry.PinholeCameraIntrinsicParameters intrinsicParameters) - Specified by:
onIntrinsicParametersEstimationEnds
in interfaceCameraCalibratorListener
-
onRadialDistortionEstimationStarts
- Specified by:
onRadialDistortionEstimationStarts
in interfaceCameraCalibratorListener
-
onRadialDistortionEstimationEnds
public void onRadialDistortionEstimationEnds(CameraCalibrator calibrator, RadialDistortion distortion) - Specified by:
onRadialDistortionEstimationEnds
in interfaceCameraCalibratorListener
-
reset
private void reset() -
checkLocked
-