Package com.irurueta.geometry.estimators
Class WeightedLinePlaneCorrespondencePinholeCameraEstimatorTest
java.lang.Object
com.irurueta.geometry.estimators.WeightedLinePlaneCorrespondencePinholeCameraEstimatorTest
- All Implemented Interfaces:
PinholeCameraEstimatorListener
class WeightedLinePlaneCorrespondencePinholeCameraEstimatorTest
extends Object
implements PinholeCameraEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate 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
-
Field Details
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
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_CORRESPONDENCES
private static final int N_CORRESPONDENCES- See Also:
-
MIN_NUMBER_CORRESPONDENCES
private static final int MIN_NUMBER_CORRESPONDENCES- See Also:
-
MAX_NUMBER_CORRESPONDENCES
private static final int MAX_NUMBER_CORRESPONDENCES- 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
-
WeightedLinePlaneCorrespondencePinholeCameraEstimatorTest
WeightedLinePlaneCorrespondencePinholeCameraEstimatorTest()
-
-
Method Details
-
testConstants
@Test void testConstants() -
testConstructor
-
testGetSetListsValidityAndAvailability
@Test void testGetSetListsValidityAndAvailability() throws LockedException, 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
-
testGetSetMaxCorrespondences
- Throws:
LockedException
-
testIsSetSortWeightsEnabled
- Throws:
LockedException
-
testEstimateNoSuggestion
@Test void testEstimateNoSuggestion() throws WrongListSizesException, LockedException, NotReadyException, NotAvailableException, CameraException -
testEstimateSuggestedSkewness
@Test void testEstimateSuggestedSkewness() throws WrongListSizesException, LockedException, NotReadyException, NotAvailableException, CameraException -
testEstimateSuggestedHorizontalFocalLengthEnabled
@Test void testEstimateSuggestedHorizontalFocalLengthEnabled() throws WrongListSizesException, LockedException, NotReadyException, NotAvailableException, CameraException -
testEstimateSuggestedVerticalFocalLengthEnabled
@Test void testEstimateSuggestedVerticalFocalLengthEnabled() throws WrongListSizesException, LockedException, NotReadyException, NotAvailableException, CameraException -
testEstimateSuggestedAspectRatioEnabled
@Test void testEstimateSuggestedAspectRatioEnabled() throws WrongListSizesException, LockedException, NotReadyException, NotAvailableException, CameraException -
testEstimateSuggestedPrincipalPointEnabled
@Test void testEstimateSuggestedPrincipalPointEnabled() throws WrongListSizesException, LockedException, NotReadyException, NotAvailableException, CameraException -
testEstimateSuggestedRotationEnabled
@Test void testEstimateSuggestedRotationEnabled() throws WrongListSizesException, LockedException, NotReadyException, NotAvailableException, CameraException -
testEstimateSuggestedCenterEnabled
@Test void testEstimateSuggestedCenterEnabled() throws WrongListSizesException, LockedException, NotReadyException, NotAvailableException, CameraException -
testEstimateZeroSkewnessZeroPrincipalPointAndEqualFocalLength
@Test void testEstimateZeroSkewnessZeroPrincipalPointAndEqualFocalLength() throws WrongListSizesException, LockedException, NotReadyException, NotAvailableException, CameraException -
onEstimateStart
- Specified by:
onEstimateStartin interfacePinholeCameraEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEndin interfacePinholeCameraEstimatorListener
-
onEstimationProgressChange
- Specified by:
onEstimationProgressChangein interfacePinholeCameraEstimatorListener
-
reset
private void reset() -
checkIsLocked
-