/// <summary> /// Initialization method calls calibration mechanism till finished /// At the end when calibration is finished it also sets IsInitialized property to True /// </summary> public override void Initialize() { if (!IsInitialized) { if (_calibration == null) { _calibration = new CalibrationUnit(ImagingData); SetMonitors(); } _calibration.Calibrate(_currentFrame); if (_calibration.CurrentState.Equals(eCalibrationState.Finished)) { IsInitialized = true; } } }