Class FundamentalMatrixTest

java.lang.Object
com.irurueta.ar.epipolar.FundamentalMatrixTest

class FundamentalMatrixTest extends Object
  • Field Details

  • 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