public void Reset() { Children.Clear(); Children.Add(image_elem); Children.Add(result_rect_elem); result_rect_elem.Width = 0; result_rect_elem.Height = 0; marker?.SetTo(0); marker = new MatOfInt(image.Size(), 0); Result = null; }
public void Reset() { Children.Clear(); Children.Add(image_elem); Children.Add(result_rect_elem); result_rect_elem.Width = 0; result_rect_elem.Height = 0; marker?.SetTo(0); marker = new MatOfInt(image.Size(), 0); Result = null; }