Beispiel #1
0
 public static bool CV_IS_IMAGE(__IplImagePtr img)
 {
     unsafe
     {
         return(CV_IS_IMAGE_HDR(img) && img.ToPointer()->imageData != null);
     }
 }
Beispiel #2
0
 public static bool CV_IS_IMAGE_HDR(__IplImagePtr img)
 {
     unsafe
     {
         return((img.ptr != IntPtr.Zero) && img.ToPointer()->nSize == sizeof(__IplImage));
     }
 }