private void btnCalibrate_Click(object sender, EventArgs e) { if (!calibrator.Valid) { return; } DistortionParameters parameters = calibrator.Calibrate(); distorter.Initialize(parameters, calibrationHelper.ImageSize); Populate(); }
private void btnCalibrate_Click(object sender, EventArgs e) { if (!calibrator.Valid) { return; } distortionParameters = calibrator.Calibrate(); distorter.Initialize(distortionParameters, calibrationHelper.ImageSize); AfterImport(); PopulatePhysicalParameters(); PopulateValues(); UpdateDistortionGrid(); }