示例#1
0
 public static API_AForge_Video add_Images(this API_AForge_Video aforgeVideo, List <Bitmap> bitmaps)
 {
     foreach (var bitmap in bitmaps)
     {
         aforgeVideo.add_Image(bitmap);
     }
     return(aforgeVideo);
 }
示例#2
0
 public static API_AForge_Video add_Images(this API_AForge_Video aforgeVideo, List <string> pathToImages)
 {
     foreach (var pathToImage in pathToImages)
     {
         aforgeVideo.add_Image(pathToImage);
     }
     return(aforgeVideo);
 }
示例#3
0
 public static API_AForge_Video add_Bitmap(this API_AForge_Video aforgeVideo, Bitmap bitmap)
 {
     aforgeVideo.add_Image(bitmap);
     return(aforgeVideo);
 }
示例#4
0
 public static API_AForge_Video add_Image(this API_AForge_Video aforgeVideo, string pathToImage)
 {
     aforgeVideo.add_Image(Misc_ExtensionMethods.bitmap(pathToImage));                           // using the extension methods creates a weird conflic with the other bitmap<T>() where T : Control
     return(aforgeVideo);
 }