コード例 #1
0
 public void DrawRectanglesOnImage()
 {
     ResultImage = BaseImage.Copy();
     foreach (var rectangle in this.rectangles)
     {
         ResultImage.Draw(rectangle, new Bgr(Color.Blue), 1);
     }
 }
コード例 #2
0
 public void MarkLocationsOnImage()
 {
     ResultImage = BaseImage.Copy();
     foreach (var pt in Points)
     {
         ResultImage.Draw(new Cross2DF(pt, 10, 10), new Bgr(Color.Red), 2);
     }
 }