Package com.irurueta.geometry.refiners
Class DecomposedPointCorrespondencePinholeCameraRefinerTest
java.lang.Object
com.irurueta.geometry.refiners.DecomposedPointCorrespondencePinholeCameraRefinerTest
- All Implemented Interfaces:
RefinerListener<PinholeCamera>
class DecomposedPointCorrespondencePinholeCameraRefinerTest
extends Object
implements RefinerListener<PinholeCamera>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate InhomogeneousPoint3Dprivate doubleprivate static final intprivate 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 intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate InhomogeneousPoint2Dprivate intprivate intprivate Quaternionprivate doubleprivate static final doubleprivate static final doubleprivate static final intprivate double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidvoidonRefineEnd(Refiner<PinholeCamera> refiner, PinholeCamera initialEstimation, PinholeCamera result, boolean errorDecreased) voidonRefineStart(Refiner<PinholeCamera> refiner, PinholeCamera initialEstimation) 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(package private) void(package private) void(package private) void(package private) void
-
Field Details
-
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:
-
MIN_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
THRESHOLD
private static final double THRESHOLD- See Also:
-
STD_ERROR
private static final double STD_ERROR- See Also:
-
PERCENTAGE_OUTLIER
private static final int PERCENTAGE_OUTLIER- See Also:
-
TIMES
private static final int TIMES- See Also:
-
refineStart
private int refineStart -
refineEnd
private int refineEnd -
skewness
private double skewness -
horizontalFocalLength
private double horizontalFocalLength -
verticalFocalLength
private double verticalFocalLength -
aspectRatio
private double aspectRatio -
principalPoint
-
rotation
-
cameraCenter
-
-
Constructor Details
-
DecomposedPointCorrespondencePinholeCameraRefinerTest
DecomposedPointCorrespondencePinholeCameraRefinerTest()
-
-
Method Details
-
testConstants
@Test void testConstants() -
testConstructor
@Test void testConstructor() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetMinSuggestionWeight
- Throws:
LockedException
-
testGetSetMaxSuggestionWeight
- Throws:
LockedException
-
testSetMinMaxSuggestionWeight
- Throws:
LockedException
-
testGetSetSuggestionWeightStep
- Throws:
LockedException
-
testGetSetRefinementStandardDeviation
- Throws:
LockedException
-
testIsSetSuggestSkewnessValueEnabled
- Throws:
LockedException
-
testGetSetSuggestedSkewnessValue
- Throws:
LockedException
-
testIsSetSuggestHorizontalFocalLengthEnabled
- Throws:
LockedException
-
testGetSetSuggestedHorizontalFocalLengthValue
- Throws:
LockedException
-
testIsSetSuggestVerticalFocalLengthEnabled
- 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
-
testGetSetSamples1
- Throws:
LockedException
-
testGetSetSamples2
- Throws:
LockedException
-
testGetSetInliers
@Test void testGetSetInliers() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetResiduals
@Test void testGetSetResiduals() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetNumInliers
@Test void testGetSetNumInliers() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testSetInliersData
@Test void testSetInliersData() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetListener
@Test void testGetSetListener() -
testGetSetInitialEstimation
- Throws:
LockedException
-
testIsSetCovarianceKept
- Throws:
LockedException
-
testRefineNoSuggestions
@Test void testRefineNoSuggestions() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
testRefineSuggestedSkewness
@Test void testRefineSuggestedSkewness() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
testRefineSuggestedHorizontalFocalLength
@Test void testRefineSuggestedHorizontalFocalLength() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
testRefineSuggestedVerticalFocalLength
@Test void testRefineSuggestedVerticalFocalLength() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
testRefineSuggestedAspectRatio
@Test void testRefineSuggestedAspectRatio() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
testRefineSuggestedPrincipalPoint
@Test void testRefineSuggestedPrincipalPoint() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
testRefineSuggestedRotation
@Test void testRefineSuggestedRotation() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
testRefineSuggestedCenter
@Test void testRefineSuggestedCenter() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
testRefineSuggestedSkewnessZeroPrincipalPointAndEqualFocalLength
@Test void testRefineSuggestedSkewnessZeroPrincipalPointAndEqualFocalLength() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
createRobustEstimator
private RANSACDLTPointCorrespondencePinholeCameraRobustEstimator createRobustEstimator() throws LockedException- Throws:
LockedException
-
createRobustEstimator2
private RANSACDLTPointCorrespondencePinholeCameraRobustEstimator createRobustEstimator2() throws LockedException- Throws:
LockedException
-
reset
private void reset() -
onRefineStart
- Specified by:
onRefineStartin interfaceRefinerListener<PinholeCamera>
-
onRefineEnd
public void onRefineEnd(Refiner<PinholeCamera> refiner, PinholeCamera initialEstimation, PinholeCamera result, boolean errorDecreased) - Specified by:
onRefineEndin interfaceRefinerListener<PinholeCamera>
-
checkLocked
-