예제 #1
0
 /// <summary>
 /// Set the ROI of an image to the bounding box of a blob.
 /// </summary>
 /// <param name="img">Image.</param>
 /// <param name="blob">Blob.</param>
 public static void SetImageRoItoBlob(IplImage img, CvBlob blob)
 {
     if (blob == null)
     {
         throw new ArgumentNullException("blob");
     }
     blob.SetImageRoiToBlob(img);
 }
예제 #2
0
 /// <summary>
 /// Set the ROI of an image to the bounding box of a blob.
 /// </summary>
 /// <param name="img">Image.</param>
 /// <param name="blob">Blob.</param>
 public static void SetImageRoItoBlob(IplImage img, CvBlob blob)
 {
     if (blob == null)
         throw new ArgumentNullException("blob");
     blob.SetImageRoiToBlob(img);
 }