Class WeightedDualAbsoluteQuadricEstimatorTest
java.lang.Object
com.irurueta.ar.calibration.estimators.WeightedDualAbsoluteQuadricEstimatorTest
- All Implemented Interfaces:
DualAbsoluteQuadricEstimatorListener
class WeightedDualAbsoluteQuadricEstimatorTest
extends Object
implements DualAbsoluteQuadricEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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 doubleprivate static final doubleprivate static final doubleprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidcheckLocked(DualAbsoluteQuadricEstimator estimator) voidonEstimateEnd(DualAbsoluteQuadricEstimator estimator) voidonEstimateStart(DualAbsoluteQuadricEstimator estimator) voidonEstimationProgressChange(DualAbsoluteQuadricEstimator estimator, float progress) (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_ASPECT_RATIO
private static final double MIN_ASPECT_RATIO- See Also:
-
MAX_ASPECT_RATIO
private static final double MAX_ASPECT_RATIO- See Also:
-
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_RANDOM_VALUE
private static final double MIN_RANDOM_VALUE- See Also:
-
MAX_RANDOM_VALUE
private static final double MAX_RANDOM_VALUE- 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:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
MIN_WEIGHT
private static final double MIN_WEIGHT- See Also:
-
MAX_WEIGHT
private static final double MAX_WEIGHT- See Also:
-
TIMES
private static final int TIMES- See Also:
-
-
Constructor Details
-
WeightedDualAbsoluteQuadricEstimatorTest
WeightedDualAbsoluteQuadricEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testAreValidCamerasAndWeights
@Test void testAreValidCamerasAndWeights() -
testGetSetWeights
@Test void testGetSetWeights() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testSetCamerasAndWeights
@Test void testSetCamerasAndWeights() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetMaxCameras
@Test void testGetSetMaxCameras() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
tetIsSetSortWeightsEnabled
@Test void tetIsSetSortWeightsEnabled() 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
-
testIsSetSingularityEnforced
@Test void testIsSetSingularityEnforced() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsSetEnforcedSingularityValidated
@Test void testIsSetEnforcedSingularityValidated() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetDeterminantThreshold
@Test void testGetSetDeterminantThreshold() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetListener
@Test void testGetSetListener() -
testGetSetCamera
@Test void testGetSetCamera() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetMinNumberOfRequiredCameras
@Test void testGetMinNumberOfRequiredCameras() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testAreValidConstraints
@Test void testAreValidConstraints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsReady
@Test void testIsReady() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testProject
@Test void testProject() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.NonSymmetricMatrixException, InvalidTransformationException- Throws:
com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.NonSymmetricMatrixExceptionInvalidTransformationException
-
testEstimate1
@Test void testEstimate1() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, InvalidTransformationException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.CameraException- Throws:
com.irurueta.geometry.estimators.LockedExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptionInvalidTransformationExceptioncom.irurueta.geometry.NotAvailableExceptioncom.irurueta.geometry.CameraException
-
testEstimate2
@Test void testEstimate2() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, InvalidTransformationException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.CameraException- Throws:
com.irurueta.geometry.estimators.LockedExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.estimators.NotReadyExceptionInvalidTransformationExceptioncom.irurueta.geometry.NotAvailableExceptioncom.irurueta.geometry.CameraException
-
testEstimate3
@Test void testEstimate3() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, InvalidTransformationException- Throws:
com.irurueta.geometry.estimators.LockedExceptioncom.irurueta.algebra.AlgebraExceptionInvalidTransformationException
-
testEstimate4
@Test void testEstimate4() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, InvalidTransformationException- Throws:
com.irurueta.geometry.estimators.LockedExceptioncom.irurueta.algebra.AlgebraExceptionInvalidTransformationException
-
testEstimate5
@Test void testEstimate5() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, InvalidTransformationException- Throws:
com.irurueta.geometry.estimators.LockedExceptioncom.irurueta.algebra.AlgebraExceptionInvalidTransformationException
-
testEstimate6
@Test void testEstimate6() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, InvalidTransformationException- Throws:
com.irurueta.geometry.estimators.LockedExceptioncom.irurueta.algebra.AlgebraExceptionInvalidTransformationException
-
onEstimateStart
- Specified by:
onEstimateStartin interfaceDualAbsoluteQuadricEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEndin interfaceDualAbsoluteQuadricEstimatorListener
-
onEstimationProgressChange
- Specified by:
onEstimationProgressChangein interfaceDualAbsoluteQuadricEstimatorListener
-
checkLocked
-