Package com.irurueta.ar.sfm
Class PlanarBestFundamentalMatrixEstimatorAndReconstructorTest
java.lang.Object
com.irurueta.ar.sfm.PlanarBestFundamentalMatrixEstimatorAndReconstructorTest
- All Implemented Interfaces:
PlanarBestFundamentalMatrixEstimatorAndReconstructorListener
class PlanarBestFundamentalMatrixEstimatorAndReconstructorTest
extends Object
implements PlanarBestFundamentalMatrixEstimatorAndReconstructorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate intprivate intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate 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 int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanareEqualUpToScale(FundamentalMatrix fundamentalMatrix1, FundamentalMatrix fundamentalMatrix2) private static voidcheckLocked(PlanarBestFundamentalMatrixEstimatorAndReconstructor estimatorAndReconstructor) voidonEstimateEnd(PlanarBestFundamentalMatrixEstimatorAndReconstructor estimatorAndReconstructor) voidonEstimateStart(PlanarBestFundamentalMatrixEstimatorAndReconstructor estimatorAndReconstructor) 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
-
Field Details
-
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_ANGLE_DEGREES
private static final double MIN_ANGLE_DEGREES- See Also:
-
MAX_ANGLE_DEGREES
private static final double MAX_ANGLE_DEGREES- See Also:
-
MIN_CAMERA_SEPARATION
private static final double MIN_CAMERA_SEPARATION- See Also:
-
MAX_CAMERA_SEPARATION
private static final double MAX_CAMERA_SEPARATION- See Also:
-
MIN_NUM_POINTS
private static final int MIN_NUM_POINTS- See Also:
-
MAX_NUM_POINTS
private static final int MAX_NUM_POINTS- 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_RANDOM_VALUE_PLANAR
private static final double MIN_RANDOM_VALUE_PLANAR- See Also:
-
MAX_RANDOM_VALUE_PLANAR
private static final double MAX_RANDOM_VALUE_PLANAR- See Also:
-
TIMES
private static final int TIMES- See Also:
-
MAX_TRIES
private static final int MAX_TRIES- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
estimateStart
private int estimateStart -
estimateEnd
private int estimateEnd
-
-
Constructor Details
-
PlanarBestFundamentalMatrixEstimatorAndReconstructorTest
PlanarBestFundamentalMatrixEstimatorAndReconstructorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetLeftPoints
@Test void testGetSetLeftPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetRightPoints
@Test void testGetSetRightPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testSetLeftAndRightPoints
@Test void testSetLeftAndRightPoints() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetLeftIntrinsics
@Test void testGetSetLeftIntrinsics() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetRightIntrinsics
@Test void testGetSetRightIntrinsics() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetHomographyEstimator
@Test void testGetSetHomographyEstimator() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetEssentialCameraEstimatorCorrectorType
@Test void testGetSetEssentialCameraEstimatorCorrectorType() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetHomographyConfidence
@Test void testGetSetHomographyConfidence() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetHomographyMaxIterations
@Test void testGetSetHomographyMaxIterations() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsSetHomographyRefined
@Test void testIsSetHomographyRefined() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testIsSetHomographyCovarianceKept
@Test void testIsSetHomographyCovarianceKept() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetQualityScores
@Test void testGetSetQualityScores() throws com.irurueta.geometry.estimators.LockedException- Throws:
com.irurueta.geometry.estimators.LockedException
-
testGetSetListener
@Test void testGetSetListener() -
testEstimateAndReconstruct
@Test void testEstimateAndReconstruct() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptioncom.irurueta.geometry.NotAvailableException
-
onEstimateStart
public void onEstimateStart(PlanarBestFundamentalMatrixEstimatorAndReconstructor estimatorAndReconstructor) - Specified by:
onEstimateStartin interfacePlanarBestFundamentalMatrixEstimatorAndReconstructorListener
-
onEstimateEnd
public void onEstimateEnd(PlanarBestFundamentalMatrixEstimatorAndReconstructor estimatorAndReconstructor) - Specified by:
onEstimateEndin interfacePlanarBestFundamentalMatrixEstimatorAndReconstructorListener
-
areEqualUpToScale
private static boolean areEqualUpToScale(FundamentalMatrix fundamentalMatrix1, FundamentalMatrix fundamentalMatrix2) throws com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.estimators.NotReadyException - Throws:
com.irurueta.geometry.NotAvailableExceptioncom.irurueta.geometry.estimators.NotReadyException
-
reset
private void reset() -
checkLocked
private static void checkLocked(PlanarBestFundamentalMatrixEstimatorAndReconstructor estimatorAndReconstructor)
-