Class WeightedDualAbsoluteQuadricEstimatorTest

java.lang.Object
com.irurueta.ar.calibration.estimators.WeightedDualAbsoluteQuadricEstimatorTest
All Implemented Interfaces:
DualAbsoluteQuadricEstimatorListener

class WeightedDualAbsoluteQuadricEstimatorTest extends Object implements DualAbsoluteQuadricEstimatorListener
  • Field Details

  • Constructor Details

    • WeightedDualAbsoluteQuadricEstimatorTest

      WeightedDualAbsoluteQuadricEstimatorTest()
  • Method Details

    • testConstructor

      @Test void testConstructor()
    • testAreValidCamerasAndWeights

      @Test void testAreValidCamerasAndWeights()
    • testGetSetWeights

      @Test void testGetSetWeights() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testSetCamerasAndWeights

      @Test void testSetCamerasAndWeights() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetMaxCameras

      @Test void testGetSetMaxCameras() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • tetIsSetSortWeightsEnabled

      @Test void tetIsSetSortWeightsEnabled() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testIsSetZeroSkewness

      @Test void testIsSetZeroSkewness() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testIsSetPrincipalPointAtOrigin

      @Test void testIsSetPrincipalPointAtOrigin() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testIsSetFocalDistanceAspectRatioKnown

      @Test void testIsSetFocalDistanceAspectRatioKnown() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetFocalDistanceAspectRatio

      @Test void testGetSetFocalDistanceAspectRatio() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testIsSetSingularityEnforced

      @Test void testIsSetSingularityEnforced() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testIsSetEnforcedSingularityValidated

      @Test void testIsSetEnforcedSingularityValidated() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetDeterminantThreshold

      @Test void testGetSetDeterminantThreshold() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetListener

      @Test void testGetSetListener()
    • testGetSetCamera

      @Test void testGetSetCamera() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetMinNumberOfRequiredCameras

      @Test void testGetMinNumberOfRequiredCameras() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testAreValidConstraints

      @Test void testAreValidConstraints() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testIsReady

      @Test void testIsReady() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testProject

      @Test void testProject() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.NonSymmetricMatrixException, InvalidTransformationException
      Throws:
      com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.NonSymmetricMatrixException
      InvalidTransformationException
    • testEstimate1

      @Test void testEstimate1() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, InvalidTransformationException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.CameraException
      Throws:
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.estimators.NotReadyException
      InvalidTransformationException
      com.irurueta.geometry.NotAvailableException
      com.irurueta.geometry.CameraException
    • testEstimate2

      @Test void testEstimate2() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, com.irurueta.geometry.estimators.NotReadyException, InvalidTransformationException, com.irurueta.geometry.NotAvailableException, com.irurueta.geometry.CameraException
      Throws:
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.algebra.AlgebraException
      com.irurueta.geometry.estimators.NotReadyException
      InvalidTransformationException
      com.irurueta.geometry.NotAvailableException
      com.irurueta.geometry.CameraException
    • testEstimate3

      @Test void testEstimate3() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, InvalidTransformationException
      Throws:
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.algebra.AlgebraException
      InvalidTransformationException
    • testEstimate4

      @Test void testEstimate4() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, InvalidTransformationException
      Throws:
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.algebra.AlgebraException
      InvalidTransformationException
    • testEstimate5

      @Test void testEstimate5() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, InvalidTransformationException
      Throws:
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.algebra.AlgebraException
      InvalidTransformationException
    • testEstimate6

      @Test void testEstimate6() throws com.irurueta.geometry.estimators.LockedException, com.irurueta.algebra.AlgebraException, InvalidTransformationException
      Throws:
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.algebra.AlgebraException
      InvalidTransformationException
    • onEstimateStart

      public void onEstimateStart(DualAbsoluteQuadricEstimator estimator)
      Specified by:
      onEstimateStart in interface DualAbsoluteQuadricEstimatorListener
    • onEstimateEnd

      public void onEstimateEnd(DualAbsoluteQuadricEstimator estimator)
      Specified by:
      onEstimateEnd in interface DualAbsoluteQuadricEstimatorListener
    • onEstimationProgressChange

      public void onEstimationProgressChange(DualAbsoluteQuadricEstimator estimator, float progress)
      Specified by:
      onEstimationProgressChange in interface DualAbsoluteQuadricEstimatorListener
    • checkLocked

      private static void checkLocked(DualAbsoluteQuadricEstimator estimator)