Beispiel #1
0
 //saját
 public void Process()
 {
     //TODO ezeknek a refeknek az elhagyása
     ProcessedImage = null;
     ContourImage   = null;
     Contours.Clear();
     ImgProcessor.Process();
     OgImage        = ImgProcessor.OgImageMat;
     ProcessedImage = ImgProcessor.ImageMat;
     ContourImage   = ImgProcessor.ContourImageMat;
     Contours.Push(ImgProcessor.ContoursToReturn);
     Boxes.Push(ImgProcessor.AngledBoundingBoxesToReturn);
     DetectedCellCount = Contours.Size;
     MainWindow.ImageProcessorExaminer.AddImage(OgImage.CreateNewHardCopyFromMat(), "ImageHandler_OgImage");
     MainWindow.ImageProcessorExaminer.AddImage(Image.CreateNewHardCopyFromMat(), "ImageHandler_Image");
     MainWindow.ImageProcessorExaminer.AddImage(ProcessedImage.CreateNewHardCopyFromMat(), "ImageHandler_ProcessedImage");
     MainWindow.ImageProcessorExaminer.AddImage(ContourImage.CreateNewHardCopyFromMat(), "ImageHandler_ContourImage");
     ProcessOverlays();
 }