Package com.irurueta.geometry.refiners
Class NonDecomposedLinePlaneCorrespondencePinholeCameraRefinerTest
java.lang.Object
com.irurueta.geometry.refiners.NonDecomposedLinePlaneCorrespondencePinholeCameraRefinerTest
- All Implemented Interfaces:
RefinerListener<PinholeCamera>
class NonDecomposedLinePlaneCorrespondencePinholeCameraRefinerTest
extends Object
implements RefinerListener<PinholeCamera>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate 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 doubleprivate static final intprivate 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 RANSACDLTLinePlaneCorrespondencePinholeCameraRobustEstimatorvoidonRefineEnd(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_SAMPLES
private static final int MIN_SAMPLES- See Also:
-
MAX_SAMPLES
private static final int MAX_SAMPLES- 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
-
NonDecomposedLinePlaneCorrespondencePinholeCameraRefinerTest
NonDecomposedLinePlaneCorrespondencePinholeCameraRefinerTest()
-
-
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 RANSACDLTLinePlaneCorrespondencePinholeCameraRobustEstimator 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
-