コード例 #1
0
 public static void AnalyzeAllFrames()
 {
     Parameters.Save();
     MotionData = VideoImaging.AnalizeAll(Parameters);
     if (MotionData != null)
     {
         MotionData.SaveRawData(Parameters.VideoFile);
         GraphForm.LoadData(MotionData);
     }
     UpdateAllControll();
     ControllerForm.SwitchTab();
 }
コード例 #2
0
 public static void LoadVideoFile(string videoFile)
 {
     VideoImaging = VideoImaging.Load(videoFile);
     if (VideoImaging == null)
     {
         Parameters = null;
         MotionData = null;
     }
     else
     {
         Parameters = Parameters.LoadOrCreate(videoFile, VideoImaging);
         MotionData = MotionData.TryLoadRawData(videoFile, Parameters);
         ImageForm.LoadVideo(VideoImaging, Parameters.StartFrame);
         if (MotionData != null)
         {
             GraphForm.LoadData(MotionData);
         }
     }
     UpdateAllControll();
     ControllerForm.SwitchTab();
 }