Esempio n. 1
0
        static void Main()
        {
            IntrinsicCameraParameters intrinsicCameraParameters = IntrinsicParametersSupport.Load(@"C:\svnDev\Rainer\Robot\CameraCalibration\CameraCalibrator\bin\Debug\CameraParameters.txt");

            using (TestFormModel testFormModel = new TestFormModel(intrinsicCameraParameters))
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new TestForm(testFormModel));
            }
        }
Esempio n. 2
0
 private void OnButtonSaveClick(object sender, EventArgs e)
 {
     IntrinsicParametersSupport.Save(m_Model.IntrinsicCameraParameters, "CameraParameters.txt");
 }
 public void LoadCameraParameters(string filePath)
 {
     this.IntrinsicCameraParameters = IntrinsicParametersSupport.Load(filePath);
 }
 public void SaveCameraParameters(string filePath)
 {
     IntrinsicParametersSupport.Save(this.IntrinsicCameraParameters, filePath);
 }