NativeMatFileIOReadFileToMat Method |
http://www.emgu.com
Read a file into Mat using native implementations
Namespace:
Emgu.CV
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic static bool ReadFileToMat(
string fileName,
Mat mat,
ImreadModes loadType
)
Public Shared Function ReadFileToMat (
fileName As String,
mat As Mat,
loadType As ImreadModes
) As Boolean
public:
static bool ReadFileToMat(
String^ fileName,
Mat^ mat,
ImreadModes loadType
)
static member ReadFileToMat :
fileName : string *
mat : Mat *
loadType : ImreadModes -> bool
Parameters
- fileName
- Type: SystemString
The name of the file - mat
- Type: Emgu.CVMat
The Mat to read the file into - loadType
- Type: Emgu.CV.CvEnumImreadModes
The image load type.
Return Value
Type:
BooleanTrue if successful
See Also