Class NativeMatFileIO
Native implementation to read files into Mat or Images.
public static class NativeMatFileIO
- Inheritance
-
NativeMatFileIO
- Inherited Members
Methods
ReadFileToMat(string, Mat, ImreadModes)
Read a file into Mat using native implementations
public static bool ReadFileToMat(string fileName, Mat mat, ImreadModes loadType)
Parameters
fileName
stringThe name of the file
mat
MatThe Mat to read the file into
loadType
ImreadModesThe image load type.
Returns
- bool
True if successful
WriteMatToFile(Mat, string)
Write a Mat into a file using native implementations
public static bool WriteMatToFile(Mat mat, string fileName)
Parameters
Returns
- bool
True if successful