Render() публичный Метод

Draw a contour.
public Render ( Mat img ) : void
img Mat Image to draw on.
Результат void
Пример #1
0
 /// <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);
 }
Пример #2
0
 /// <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);
 }
Пример #3
0
 /// <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);
 }
Пример #4
0
 /// <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);
 }
Пример #5
0
 /// <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);
 }
Пример #6
0
 /// <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);
 }
Пример #7
0
 /// <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);
 }