public static CvMat CreateOrNull(SerializableBinaryMat mat)
 {
     if (mat == null)
     {
         return(null);
     }
     return(mat.CreateCvMat());
 }
 public static CvMat CreateOrNull(SerializableBinaryMat mat)
 {
     if (mat == null)
         return null;
     return mat.CreateCvMat();
 }