Package com.irurueta.geometry.estimators
Class WeightedPointCorrespondencePinholeCameraEstimatorTest
java.lang.Object
com.irurueta.geometry.estimators.WeightedPointCorrespondencePinholeCameraEstimatorTest
- All Implemented Interfaces:
PinholeCameraEstimatorListener
class WeightedPointCorrespondencePinholeCameraEstimatorTest
extends Object
implements PinholeCameraEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final doubleprivate 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 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 intprivate intprivate static final intprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidvoidonEstimateEnd(PinholeCameraEstimator estimator) voidonEstimateStart(PinholeCameraEstimator estimator) voidonEstimationProgressChange(PinholeCameraEstimator 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) 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
-
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:
-
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_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:
-
N_POINTS
private static final int N_POINTS- See Also:
-
MIN_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
TIMES
private static final int TIMES- See Also:
-
MIN_WEIGHT_VALUE
private static final double MIN_WEIGHT_VALUE- See Also:
-
MAX_WEIGHT_VALUE
private static final double MAX_WEIGHT_VALUE- See Also:
-
ERROR_STD
private static final double ERROR_STD- See Also:
-
startCount
private int startCount -
endCount
private int endCount -
progressCount
private int progressCount
-
-
Constructor Details
-
WeightedPointCorrespondencePinholeCameraEstimatorTest
WeightedPointCorrespondencePinholeCameraEstimatorTest()
-
-
Method Details
-
testConstants
@Test void testConstants() -
testConstructor
@Test void testConstructor() throws IllegalArgumentException, WrongListSizesException, NotAvailableException -
testAreSetPointCorrespondencesNormalized
- Throws:
LockedException
-
testGetSetListsValidityAndAvailability
@Test void testGetSetListsValidityAndAvailability() throws LockedException, IllegalArgumentException, WrongListSizesException, NotAvailableException -
testGetSetListsAndWeightsValidityAndAvailability
@Test void testGetSetListsAndWeightsValidityAndAvailability() throws LockedException, IllegalArgumentException, WrongListSizesException, NotAvailableException -
testGetSetListener
- Throws:
LockedException
-
testIsSetSuggestSkewnessValueEnabled
- Throws:
LockedException
-
testGetSetSuggestedSkewnessValue
- Throws:
LockedException
-
testIsSetSuggestHorizontalFocalLengthEnabled
- Throws:
LockedException
-
testGetSetSuggestedHorizontalFocalLengthValue
- Throws:
LockedException
-
testIsSetSuggestedVerticalFocalLengthEnabled
- Throws:
LockedException
-
testGetSetSuggestedVerticalFocalLengthValue
- Throws:
LockedException
-
testIsSetSuggestAspectRatioEnabled
- Throws:
LockedException
-
testGetSetSuggestedAspectRatioValue
- Throws:
LockedException
-
testIsSetSuggestPrincipalPointEnabled
- Throws:
LockedException
-
testGetSetSuggestedPrincipalPointValue
- Throws:
LockedException
-
testIsSetSuggestRotationEnabled
- Throws:
LockedException
-
testGetSetSuggestedRotationValue
- Throws:
LockedException
-
testIsSetSuggestCenterEnabled
- Throws:
LockedException
-
testGetSetSuggestedCenterValue
- Throws:
LockedException
-
testGetSetMinSuggestionWeight
- Throws:
LockedException
-
testGetSetMaxSuggestionWeight
- Throws:
LockedException
-
testSetMinMaxSuggestionWeight
- Throws:
LockedException
-
testGetSetSuggestionWeightStep
- Throws:
LockedException
-
testGetSetMaxPoints
- Throws:
LockedException
-
testIsSetSortWeightsEnabled
- Throws:
LockedException
-
testEstimateNoSuggestion
@Test void testEstimateNoSuggestion() throws WrongListSizesException, LockedException, NotReadyException, CameraException, NotAvailableException -
testEstimateSuggestedSkewnessEnabled
@Test void testEstimateSuggestedSkewnessEnabled() throws WrongListSizesException, LockedException, NotReadyException, CameraException, NotAvailableException -
testEstimateSuggestedHorizontalFocalLengthEnabled
@Test void testEstimateSuggestedHorizontalFocalLengthEnabled() throws WrongListSizesException, LockedException, NotReadyException, CameraException, NotAvailableException -
testEstimateSuggestedVerticalFocalLengthEnabled
@Test void testEstimateSuggestedVerticalFocalLengthEnabled() throws WrongListSizesException, LockedException, NotReadyException, CameraException, NotAvailableException -
testEstimateSuggestedAspectRatioEnabled
@Test void testEstimateSuggestedAspectRatioEnabled() throws WrongListSizesException, LockedException, NotReadyException, CameraException, NotAvailableException -
testEstimateSuggestedPrincipalPointEnabled
@Test void testEstimateSuggestedPrincipalPointEnabled() throws WrongListSizesException, LockedException, NotReadyException, CameraException, NotAvailableException -
testEstimateSuggestedRotationEnabled
@Test void testEstimateSuggestedRotationEnabled() throws WrongListSizesException, LockedException, NotReadyException, CameraException, NotAvailableException -
testEstimateSuggestedCenterEnabled
@Test void testEstimateSuggestedCenterEnabled() throws WrongListSizesException, LockedException, NotReadyException, CameraException, NotAvailableException -
testEstimateZeroSkewnessZeroPrincipalPointAndEqualFocalLength
@Test void testEstimateZeroSkewnessZeroPrincipalPointAndEqualFocalLength() throws WrongListSizesException, LockedException, NotReadyException, CameraException, NotAvailableException -
onEstimateStart
- Specified by:
onEstimateStartin interfacePinholeCameraEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEndin interfacePinholeCameraEstimatorListener
-
onEstimationProgressChange
- Specified by:
onEstimationProgressChangein interfacePinholeCameraEstimatorListener
-
reset
private void reset() -
checkIsLocked
-