Package com.irurueta.ar.epipolar
Class FundamentalMatrixTest
java.lang.Object
com.irurueta.ar.epipolar.FundamentalMatrixTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final int
private static final int
private static final double
private static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private static final int
private static final double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.irurueta.geometry.Transformation2D
generateHomography
(com.irurueta.geometry.PinholeCamera camera1, com.irurueta.geometry.PinholeCamera camera2, FundamentalMatrix fundamentalMatrix, List<com.irurueta.geometry.Point2D> projectedPoints1, List<com.irurueta.geometry.Point2D> projectedPoints2) (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
-
FUND_MATRIX_ROWS
private static final int FUND_MATRIX_ROWS- See Also:
-
FUND_MATRIX_COLS
private static final int FUND_MATRIX_COLS- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
VERY_LARGE_ABSOLUTE_ERROR
private static final double VERY_LARGE_ABSOLUTE_ERROR- 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_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:
-
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:
-
MAX_TRIES
private static final int MAX_TRIES- See Also:
-
TIMES
private static final int TIMES- See Also:
-
-
Constructor Details
-
FundamentalMatrixTest
FundamentalMatrixTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws com.irurueta.geometry.GeometryException, com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.geometry.GeometryException
com.irurueta.algebra.AlgebraException
-
testGetSetInternalMatrixAndAvailability
@Test void testGetSetInternalMatrixAndAvailability() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.NotReadyException, com.irurueta.algebra.LockedException, com.irurueta.algebra.DecomposerException, com.irurueta.algebra.NotAvailableException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
com.irurueta.algebra.WrongSizeException
com.irurueta.algebra.NotReadyException
com.irurueta.algebra.LockedException
com.irurueta.algebra.DecomposerException
com.irurueta.algebra.NotAvailableException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testSetFromPairOfCameras
@Test void testSetFromPairOfCameras() throws InvalidPairOfCamerasException, com.irurueta.geometry.estimators.NotReadyException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasException
com.irurueta.geometry.estimators.NotReadyException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testSetFromHomography
@Test void testSetFromHomography() throws com.irurueta.geometry.GeometryException- Throws:
com.irurueta.geometry.GeometryException
-
testGetAndComputeEpipolesAndEpipolarLinesAndCheckAvailability
@Test void testGetAndComputeEpipolesAndEpipolarLinesAndCheckAvailability() throws InvalidPairOfCamerasException, com.irurueta.geometry.estimators.NotReadyException, InvalidFundamentalMatrixException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasException
com.irurueta.geometry.estimators.NotReadyException
InvalidFundamentalMatrixException
com.irurueta.geometry.NotAvailableException
-
testNormalizeAndIsNormalized
@Test void testNormalizeAndIsNormalized() throws InvalidPairOfCamerasException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException- Throws:
InvalidPairOfCamerasException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotAvailableException
-
testIsValidInternalMatrix
@Test void testIsValidInternalMatrix() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.NotReadyException, com.irurueta.algebra.LockedException, com.irurueta.algebra.DecomposerException, com.irurueta.algebra.NotAvailableException- Throws:
com.irurueta.algebra.WrongSizeException
com.irurueta.algebra.NotReadyException
com.irurueta.algebra.LockedException
com.irurueta.algebra.DecomposerException
com.irurueta.algebra.NotAvailableException
-
testGenerateCamerasInArbitraryProjectiveSpace
@Test void testGenerateCamerasInArbitraryProjectiveSpace() throws InvalidPairOfCamerasException, InvalidFundamentalMatrixException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.CameraException- Throws:
InvalidPairOfCamerasException
InvalidFundamentalMatrixException
com.irurueta.geometry.estimators.NotReadyException
com.irurueta.geometry.NotAvailableException
com.irurueta.geometry.CameraException
-
testSerializeDeserialize
@Test void testSerializeDeserialize() throws com.irurueta.geometry.GeometryException, IOException, ClassNotFoundException- Throws:
com.irurueta.geometry.GeometryException
IOException
ClassNotFoundException
-
generateHomography
private static com.irurueta.geometry.Transformation2D generateHomography(com.irurueta.geometry.PinholeCamera camera1, com.irurueta.geometry.PinholeCamera camera2, FundamentalMatrix fundamentalMatrix, List<com.irurueta.geometry.Point2D> projectedPoints1, List<com.irurueta.geometry.Point2D> projectedPoints2) throws com.irurueta.geometry.GeometryException, com.irurueta.algebra.AlgebraException, com.irurueta.numerical.robust.RobustEstimatorException - Throws:
com.irurueta.geometry.GeometryException
com.irurueta.algebra.AlgebraException
com.irurueta.numerical.robust.RobustEstimatorException
-