Class WeightedRadialDistortionEstimatorTest

java.lang.Object
com.irurueta.ar.calibration.estimators.WeightedRadialDistortionEstimatorTest
All Implemented Interfaces:
RadialDistortionEstimatorListener

class WeightedRadialDistortionEstimatorTest extends Object implements RadialDistortionEstimatorListener
  • Field Details

    • MIN_POINT_VALUE

      private static final double MIN_POINT_VALUE
      See Also:
    • MAX_POINT_VALUE

      private static final double MAX_POINT_VALUE
      See Also:
    • MIN_PARAM_VALUE

      private static final double MIN_PARAM_VALUE
      See Also:
    • MAX_PARAM_VALUE

      private static final double MAX_PARAM_VALUE
      See Also:
    • MIN_WEIGHT_VALUE

      private static final double MIN_WEIGHT_VALUE
      See Also:
    • MAX_WEIGHT_VALUE

      private static final double MAX_WEIGHT_VALUE
      See Also:
    • ABSOLUTE_ERROR

      private static final double ABSOLUTE_ERROR
      See Also:
    • NUM_POINTS

      private static final int NUM_POINTS
      See Also:
    • estimateStart

      private int estimateStart
    • estimateEnd

      private int estimateEnd
    • estimationProgressChange

      private int estimationProgressChange
  • Constructor Details

    • WeightedRadialDistortionEstimatorTest

      WeightedRadialDistortionEstimatorTest()
  • Method Details

    • testConstructor

      @Test void testConstructor()
    • testGetSetListsAndWeights

      @Test void testGetSetListsAndWeights() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testAreValidPointsAndWeights

      @Test void testAreValidPointsAndWeights()
    • testGetSetMaxPoints

      @Test void testGetSetMaxPoints() 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
    • testGetSetDistortionCenter

      @Test void testGetSetDistortionCenter() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testGetSetHorizontalFocalLength

      @Test void testGetSetHorizontalFocalLength() throws com.irurueta.geometry.estimators.LockedException, RadialDistortionException
      Throws:
      com.irurueta.geometry.estimators.LockedException
      RadialDistortionException
    • testGetSetVerticalFocalLength

      @Test void testGetSetVerticalFocalLength() throws com.irurueta.geometry.estimators.LockedException, RadialDistortionException
      Throws:
      com.irurueta.geometry.estimators.LockedException
      RadialDistortionException
    • testGetSetSkew

      @Test void testGetSetSkew() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testSetIntrinsic

      @Test void testSetIntrinsic() throws com.irurueta.geometry.estimators.LockedException, RadialDistortionException
      Throws:
      com.irurueta.geometry.estimators.LockedException
      RadialDistortionException
    • testGetSetNumKParamsAndGetMinNumberOfMatchedPoints

      @Test void testGetSetNumKParamsAndGetMinNumberOfMatchedPoints() throws com.irurueta.geometry.estimators.LockedException
      Throws:
      com.irurueta.geometry.estimators.LockedException
    • testEstimate

      @Test void testEstimate() throws com.irurueta.geometry.NotSupportedException, com.irurueta.geometry.estimators.LockedException, com.irurueta.geometry.estimators.NotReadyException, RadialDistortionEstimatorException, DistortionException
      Throws:
      com.irurueta.geometry.NotSupportedException
      com.irurueta.geometry.estimators.LockedException
      com.irurueta.geometry.estimators.NotReadyException
      RadialDistortionEstimatorException
      DistortionException
    • onEstimateStart

      public void onEstimateStart(RadialDistortionEstimator estimator)
      Specified by:
      onEstimateStart in interface RadialDistortionEstimatorListener
    • onEstimateEnd

      public void onEstimateEnd(RadialDistortionEstimator estimator)
      Specified by:
      onEstimateEnd in interface RadialDistortionEstimatorListener
    • onEstimationProgressChange

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

      private void reset()
    • testLocked

      private static void testLocked(WeightedRadialDistortionEstimator estimator)