Class PlanarFundamentalMatrixEstimatorTest
java.lang.Object
com.irurueta.ar.epipolar.estimators.PlanarFundamentalMatrixEstimatorTest
- All Implemented Interfaces:
PlanarFundamentalMatrixEstimatorListener
class PlanarFundamentalMatrixEstimatorTest
extends Object
implements PlanarFundamentalMatrixEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate 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 intprivate intprivate 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(PlanarFundamentalMatrixEstimator estimator) voidonEstimateEnd(PlanarFundamentalMatrixEstimator estimator, List<FundamentalMatrix> fundamentalMatrices) voidonEstimateStart(PlanarFundamentalMatrixEstimator estimator) private voidreset()(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:
-
HOMOGRAPHY_ESTIMATOR_THRESHOLD
private static final double HOMOGRAPHY_ESTIMATOR_THRESHOLD- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
mEstimateStart
private int mEstimateStart -
mEstimateEnd
private int mEstimateEnd
-
-
Constructor Details
-
PlanarFundamentalMatrixEstimatorTest
PlanarFundamentalMatrixEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetHomography
@Test void testGetSetHomography() 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
-
testGetSetListener
@Test void testGetSetListener() -
testEstimate
@Test void testEstimate() throws InvalidPairOfCamerasException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.CameraException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, FundamentalMatrixEstimatorException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasExceptioncom.irurueta.algebra.AlgebraExceptioncom.irurueta.geometry.CameraExceptioncom.irurueta.geometry.estimators.LockedExceptioncom.irurueta.geometry.estimators.NotReadyExceptionFundamentalMatrixEstimatorExceptioncom.irurueta.geometry.NotAvailableException
-
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
-
onEstimateStart
- Specified by:
onEstimateStartin interfacePlanarFundamentalMatrixEstimatorListener
-
onEstimateEnd
public void onEstimateEnd(PlanarFundamentalMatrixEstimator estimator, List<FundamentalMatrix> fundamentalMatrices) - Specified by:
onEstimateEndin interfacePlanarFundamentalMatrixEstimatorListener
-
reset
private void reset() -
checkLocked
-