Package com.irurueta.geometry.refiners
Class NonDecomposedPointCorrespondencePinholeCameraRefinerTest
java.lang.Object
com.irurueta.geometry.refiners.NonDecomposedPointCorrespondencePinholeCameraRefinerTest
- All Implemented Interfaces:
RefinerListener<PinholeCamera>
class NonDecomposedPointCorrespondencePinholeCameraRefinerTest
extends Object
implements RefinerListener<PinholeCamera>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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 intprivate intprivate static final doubleprivate static final doubleprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidprivate static RANSACDLTPointCorrespondencePinholeCameraRobustEstimatorvoidonRefineEnd(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
-
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
-
-
Constructor Details
-
NonDecomposedPointCorrespondencePinholeCameraRefinerTest
NonDecomposedPointCorrespondencePinholeCameraRefinerTest()
-
-
Method Details
-
testConstants
@Test void testConstants() -
testConstructor
@Test void testConstructor() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorException
-
testGetSetSuggestionErrorWeight
- 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
-
testRefine
@Test void testRefine() throws LockedException, NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, RefinerException- Throws:
LockedExceptionNotReadyExceptioncom.irurueta.numerical.robust.RobustEstimatorExceptionRefinerException
-
createRobustEstimator
private static RANSACDLTPointCorrespondencePinholeCameraRobustEstimator createRobustEstimator() throws LockedException- Throws:
LockedException
-
onRefineStart
- Specified by:
onRefineStartin interfaceRefinerListener<PinholeCamera>
-
onRefineEnd
public void onRefineEnd(Refiner<PinholeCamera> refiner, PinholeCamera initialEstimation, PinholeCamera result, boolean errorDecreased) - Specified by:
onRefineEndin interfaceRefinerListener<PinholeCamera>
-
reset
private void reset() -
checkLocked
-