Interface CameraCalibratorListener


public interface CameraCalibratorListener
Listener to be notified when calibration starts, finishes or any progress changes.
  • Method Details

    • onCalibrateStart

      void onCalibrateStart(CameraCalibrator calibrator)
      Called when a calibrator starts the camera calibration process.
      Parameters:
      calibrator - reference to a camera calibrator.
    • onCalibrateEnd

      void onCalibrateEnd(CameraCalibrator calibrator)
      Called when a calibrator ends the camera calibration process.
      Parameters:
      calibrator - reference to a camera calibrator.
    • onCalibrateProgressChange

      void onCalibrateProgressChange(CameraCalibrator calibrator, float progress)
      Called to notify changes in the camera calibration progress.
      Parameters:
      calibrator - reference to a camera calibrator.
      progress - current percentage of progress expressed as a value between 0.0f and 1.0f.
    • onIntrinsicParametersEstimationStarts

      void onIntrinsicParametersEstimationStarts(CameraCalibrator calibrator)
      Called when a calibrator starts the estimation of intrinsic parameters of a pinhole camera. Depending on the calibrator implementation, this method might be called multiple times while the distortion parameters are being refined.
      Parameters:
      calibrator - reference to a camera calibrator.
    • onIntrinsicParametersEstimationEnds

      void onIntrinsicParametersEstimationEnds(CameraCalibrator calibrator, com.irurueta.geometry.PinholeCameraIntrinsicParameters intrinsicParameters)
      Called when a calibrator finishes the estimation of intrinsic parameters of a pinhole camera. Depending on the calibrator implementation, this method might be called multiple times while the distortion parameters are being refined.
      Parameters:
      calibrator - reference to a camera calibrator.
      intrinsicParameters - intrinsic parameters that have been estimated so far.
    • onRadialDistortionEstimationStarts

      void onRadialDistortionEstimationStarts(CameraCalibrator calibrator)
      Called when a calibrator starts the estimation of radial distortion of the camera lens. Depending on the calibrator implementation, this method might be called multiple times while the distortion parameters are being refined.
      Parameters:
      calibrator - reference to a camera calibrator.
    • onRadialDistortionEstimationEnds

      void onRadialDistortionEstimationEnds(CameraCalibrator calibrator, RadialDistortion distortion)
      Called when a calibrator finishes the estimation of radial distortion of the camera lens. Depending on the calibrator implementation, this method might be called multiple times while the distortion parameters are being refined.
      Parameters:
      calibrator - reference to a camera calibrator.
      distortion - radial distortion that has been estimated so far.