Class WeightedImageOfAbsoluteConicEstimatorTest

java.lang.Object
com.irurueta.ar.calibration.estimators.WeightedImageOfAbsoluteConicEstimatorTest
All Implemented Interfaces:
ImageOfAbsoluteConicEstimatorListener

class WeightedImageOfAbsoluteConicEstimatorTest extends Object implements ImageOfAbsoluteConicEstimatorListener
  • 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_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:
    • 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:
    • 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:
    • ULTRA_LARGE_ABSOLUTE_ERROR

      private static final double ULTRA_LARGE_ABSOLUTE_ERROR
      See Also:
    • TIMES

      private static final int TIMES
      See Also:
    • estimateStart

      private int estimateStart
    • estimateEnd

      private int estimateEnd
    • estimationProgressChange

      private int estimationProgressChange
  • Constructor Details

    • WeightedImageOfAbsoluteConicEstimatorTest

      WeightedImageOfAbsoluteConicEstimatorTest()
  • Method Details

    • testConstructor

      @Test void testConstructor()
    • 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
    • testIsFocalDistanceAspectRatioKnown

      @Test void testIsFocalDistanceAspectRatioKnown() 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
    • testGetSetHomographiesAndWeightsAndIsReady

      @Test void testGetSetHomographiesAndWeightsAndIsReady() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetMaxHomographies

      @Test void testGetSetMaxHomographies() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testIsSetSortWeightsEnabled

      @Test void testIsSetSortWeightsEnabled() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testEstimateNoConstraints

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

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

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

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

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

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

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

      public void onEstimateStart(ImageOfAbsoluteConicEstimator estimator)
      Specified by:
      onEstimateStart in interface ImageOfAbsoluteConicEstimatorListener
    • onEstimateEnd

      public void onEstimateEnd(ImageOfAbsoluteConicEstimator estimator)
      Specified by:
      onEstimateEnd in interface ImageOfAbsoluteConicEstimatorListener
    • onEstimationProgressChange

      public void onEstimationProgressChange(ImageOfAbsoluteConicEstimator estimator, float progress)
      Specified by:
      onEstimationProgressChange in interface ImageOfAbsoluteConicEstimatorListener
    • reset

      private void reset()
    • testLocked

      private void testLocked(WeightedImageOfAbsoluteConicEstimator estimator)