Package com.irurueta.ar.calibration
Interface CameraCalibratorListener
public interface CameraCalibratorListener
Listener to be notified when calibration starts, finishes or any progress
changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCalibrateEnd
(CameraCalibrator calibrator) Called when a calibrator ends the camera calibration process.void
onCalibrateProgressChange
(CameraCalibrator calibrator, float progress) Called to notify changes in the camera calibration progress.void
onCalibrateStart
(CameraCalibrator calibrator) Called when a calibrator starts the camera calibration process.void
onIntrinsicParametersEstimationEnds
(CameraCalibrator calibrator, com.irurueta.geometry.PinholeCameraIntrinsicParameters intrinsicParameters) Called when a calibrator finishes the estimation of intrinsic parameters of a pinhole camera.void
Called when a calibrator starts the estimation of intrinsic parameters of a pinhole camera.void
onRadialDistortionEstimationEnds
(CameraCalibrator calibrator, RadialDistortion distortion) Called when a calibrator finishes the estimation of radial distortion of the camera lens.void
onRadialDistortionEstimationStarts
(CameraCalibrator calibrator) Called when a calibrator starts the estimation of radial distortion of the camera lens.
-
Method Details
-
onCalibrateStart
Called when a calibrator starts the camera calibration process.- Parameters:
calibrator
- reference to a camera calibrator.
-
onCalibrateEnd
Called when a calibrator ends the camera calibration process.- Parameters:
calibrator
- reference to a camera calibrator.
-
onCalibrateProgressChange
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
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
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
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.
-