Package com.irurueta.geometry.refiners
Class DecomposedLinePlaneCorrespondencePinholeCameraRefinerTest
java.lang.Object
com.irurueta.geometry.refiners.DecomposedLinePlaneCorrespondencePinholeCameraRefinerTest
- All Implemented Interfaces:
RefinerListener<PinholeCamera>
class DecomposedLinePlaneCorrespondencePinholeCameraRefinerTest
extends Object
implements RefinerListener<PinholeCamera>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate doubleprivate InhomogeneousPoint3Dprivate doubleprivate 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 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_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:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- 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
-
DecomposedLinePlaneCorrespondencePinholeCameraRefinerTest
DecomposedLinePlaneCorrespondencePinholeCameraRefinerTest()
-
-
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 RANSACDLTLinePlaneCorrespondencePinholeCameraRobustEstimator createRobustEstimator() throws LockedException- Throws:
LockedException
-
createRobustEstimator2
private RANSACDLTLinePlaneCorrespondencePinholeCameraRobustEstimator createRobustEstimator2() 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
-