public FormStaticHomography(string fileName, string fileNameFiltered)
 {
     InitializeComponent();
     MouseRecognitionModule = new MouseRecognition();
     SetPicture(fileName, fileNameFiltered);
     FrameRows    = ImageOriginal.Rows;
     FrameCols    = ImageOriginal.Cols;
     CenterProjXY = new List <Point3D>(3);
     CenterProjXY.Add(new Point3D(FrameCols / 2, FrameRows / 2, 0)); // Center of projection
     CenterProjXY.Add(new Point3D(FrameCols, FrameRows / 2, 0));     // X axis middle
     CenterProjXY.Add(new Point3D(FrameCols / 2, FrameRows, 0));     // Y axis middle
     //
     // Processing
     //
     ProcessImage();
     imageBox1.Image = ImageOriginal;
 }
Exemple #2
0
 public FormStaticFrame()
 {
     InitializeComponent();
     MouseRecognitionModule = new MouseRecognition();
 }