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