Class MSACImageOfAbsoluteConicRobustEstimatorTest

java.lang.Object
com.irurueta.ar.calibration.estimators.MSACImageOfAbsoluteConicRobustEstimatorTest
All Implemented Interfaces:
ImageOfAbsoluteConicRobustEstimatorListener

class MSACImageOfAbsoluteConicRobustEstimatorTest extends Object implements ImageOfAbsoluteConicRobustEstimatorListener
  • 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:
    • INHOM_3D_COORDS

      private static final int INHOM_3D_COORDS
      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:
    • ABSOLUTE_ERROR

      private static final double ABSOLUTE_ERROR
      See Also:
    • VERY_LARGE_ABSOLUTE_ERROR

      private static final double VERY_LARGE_ABSOLUTE_ERROR
      See Also:
    • ULTRA_LARGE_ABSOLUTE_ERROR

      private static final double ULTRA_LARGE_ABSOLUTE_ERROR
      See Also:
    • MIN_NUM_HOMOGRAPHIES

      private static final int MIN_NUM_HOMOGRAPHIES
      See Also:
    • MAX_NUM_HOMOGRAPHIES

      private static final int MAX_NUM_HOMOGRAPHIES
      See Also:
    • THRESHOLD

      private static final double THRESHOLD
      See Also:
    • TIMES

      private static final int TIMES
      See Also:
    • PERCENTAGE_OUTLIERS

      private static final int PERCENTAGE_OUTLIERS
      See Also:
    • STD_ERROR

      private static final double STD_ERROR
      See Also:
    • estimateStart

      private int estimateStart
    • estimateEnd

      private int estimateEnd
    • estimateNextIteration

      private int estimateNextIteration
    • estimateProgressChange

      private int estimateProgressChange
  • Constructor Details

    • MSACImageOfAbsoluteConicRobustEstimatorTest

      MSACImageOfAbsoluteConicRobustEstimatorTest()
  • Method Details

    • testConstructor

      @Test void testConstructor()
    • testGetSetThreshold

      @Test void testGetSetThreshold() 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
    • testGetSetListener

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

      @Test void testGetSetProgressDelta() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetConfidence

      @Test void testGetSetConfidence() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetMaxIterations

      @Test void testGetSetMaxIterations() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetHomographiesAndIsReady

      @Test void testGetSetHomographiesAndIsReady() 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
    • testEstimateCirclesPattern

      @Test void testEstimateCirclesPattern() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException
      Throws:
      com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.numerical.robust.RobustEstimatorException
    • testEstimateQRPattern

      @Test void testEstimateQRPattern() throws com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException
      Throws:
      com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.numerical.robust.RobustEstimatorException
    • testEstimateRealData

      @Test void testEstimateRealData() throws com.irurueta.geometry.CoincidentPointsException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException, com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException
      Throws:
      com.irurueta.geometry.CoincidentPointsException
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.geometry.estimators.NotReadyException
      com.irurueta.numerical.robust.RobustEstimatorException
      com.irurueta.geometry.InvalidPinholeCameraIntrinsicParametersException
    • onEstimateStart

      public void onEstimateStart(ImageOfAbsoluteConicRobustEstimator estimator)
      Specified by:
      onEstimateStart in interface ImageOfAbsoluteConicRobustEstimatorListener
    • onEstimateEnd

      public void onEstimateEnd(ImageOfAbsoluteConicRobustEstimator estimator)
      Specified by:
      onEstimateEnd in interface ImageOfAbsoluteConicRobustEstimatorListener
    • onEstimateNextIteration

      public void onEstimateNextIteration(ImageOfAbsoluteConicRobustEstimator estimator, int iteration)
      Specified by:
      onEstimateNextIteration in interface ImageOfAbsoluteConicRobustEstimatorListener
    • onEstimateProgressChange

      public void onEstimateProgressChange(ImageOfAbsoluteConicRobustEstimator estimator, float progress)
      Specified by:
      onEstimateProgressChange in interface ImageOfAbsoluteConicRobustEstimatorListener
    • reset

      private void reset()
    • testLocked

      private void testLocked(MSACImageOfAbsoluteConicRobustEstimator estimator)