public void Calibrate(Size Resolution) { CalibrationSet Calibration = new CalibrationSet(); try { foreach (var Correspondence in this.Correspondences) { Calibration.Add(Correspondence.World, Correspondence.Projection); } this.ReprojectionError = Calibration.Calibrate(Resolution); this.FView = Calibration.View; this.FProjection = Calibration.Projection; this.Intrinsics = Calibration.Intrinsics; this.Calibrated = true; } catch (Exception e) { this.ReprojectionError = 0.0; this.Calibrated = false; } }