/// <summary> /// Draw a contour. /// </summary> /// <param name="contour"> Chain code contour.</param> /// <param name="img">Image to draw on.</param> /// <param name="color">Color to draw (default, white).</param> public static void RenderContourChainCode(CvContourChainCode contour, IplImage img, CvScalar color) { if (contour == null) { throw new ArgumentNullException("contour"); } contour.Render(img, color); }
/// <summary> /// Draw a contour. /// </summary> /// <param name="contour"> Chain code contour.</param> /// <param name="img">Image to draw on.</param> /// <param name="color">Color to draw (default, white).</param> public static void RenderContourChainCode(CvContourChainCode contour, Mat img, Scalar color) { if (contour == null) { throw new ArgumentNullException(nameof(contour)); } contour.Render(img, color); }
/// <summary> /// Draw a contour. /// </summary> /// <param name="contour"> Chain code contour.</param> /// <param name="img">Image to draw on.</param> public static void RenderContourChainCode(CvContourChainCode contour, Mat img) { if (contour == null) { throw new ArgumentNullException("contour"); } contour.Render(img); }
/// <summary> /// Draw a contour. /// </summary> /// <param name="contour"> Chain code contour.</param> /// <param name="img">Image to draw on.</param> public static void RenderContourChainCode(CvContourChainCode contour, IplImage img) { if (contour == null) { throw new ArgumentNullException(nameof(contour)); } contour.Render(img); }
/// <summary> /// Draw a contour. /// </summary> /// <param name="contour"> Chain code contour.</param> /// <param name="img">Image to draw on.</param> /// <param name="color">Color to draw (default, white).</param> public static void RenderContourChainCode(CvContourChainCode contour, Mat img, Scalar color) { if (contour == null) throw new ArgumentNullException(nameof(contour)); contour.Render(img, color); }
/// <summary> /// Draw a contour. /// </summary> /// <param name="contour"> Chain code contour.</param> /// <param name="img">Image to draw on.</param> /// <param name="color">Color to draw (default, white).</param> public static void RenderContourChainCode(CvContourChainCode contour, IplImage img, CvScalar color) { if (contour == null) throw new ArgumentNullException("contour"); contour.Render(img, color); }
/// <summary> /// Draw a contour. /// </summary> /// <param name="contour"> Chain code contour.</param> /// <param name="img">Image to draw on.</param> public static void RenderContourChainCode(CvContourChainCode contour, Mat img) { if (contour == null) throw new ArgumentNullException("contour"); contour.Render(img); }