예제 #1
0
 /// <summary>
 /// Calibration Unit Constructor
 /// </summary>
 /// <param name="commonData">Common Image Processing Data to be used/set/updated by calibration unit</param>
 /// <param name="circleDetector">Circle detection tool [default parameter is null - will be created in constructor]</param>
 /// <param name="calibrationHelper">Calibration Helper Instance [default parameter is null - will be created in constructor]</param>
 public CalibrationUnit(IImageData commonData, ICircleDetector circleDetector = null, ICalibrationHelper calibrationHelper = null)
 {
     ImagingData            = commonData;
     CircleDetector         = (circleDetector != null) ? circleDetector : new CircleDetector();
     ComputerVisionMonitors = new Dictionary <eComputerVisionMonitor, IComputerVisionMonitor>();
     CalibrationUtils       = (calibrationHelper != null) ? calibrationHelper : new CalibrationHelper();
 }
예제 #2
0
 /// <summary>
 /// Calibration Unit Constructor
 /// </summary>
 /// <param name="commonData">Common Image Processing Data to be used/set/updated by calibration unit</param>
 /// <param name="circleDetector">Circle detection tool [default parameter is null - will be created in constructor]</param>
 /// <param name="calibrationHelper">Calibration Helper Instance [default parameter is null - will be created in constructor]</param>
 public CalibrationUnit(IImageData commonData, ICircleDetector circleDetector = null, ICalibrationHelper calibrationHelper = null)
 {
     ImagingData = commonData;
     CircleDetector = (circleDetector != null) ? circleDetector : new CircleDetector();
     ComputerVisionMonitors = new Dictionary<eComputerVisionMonitor, IComputerVisionMonitor>();
     CalibrationUtils = (calibrationHelper != null) ? calibrationHelper : new CalibrationHelper();
 }