BitmapFileReaderMatReadFile Method |
http://www.emgu.com
Read the file into a Mat
Namespace:
Emgu.CV
Assemblies:
Emgu.CV.Platform.NetCore (in Emgu.CV.Platform.NetCore.dll) Version: 4.3.0.3890
Emgu.CV.Platform.NetFramework (in Emgu.CV.Platform.NetFramework.dll) Version: 4.3.0.3890 (4.3.0.3890)
Syntaxpublic bool ReadFile(
string fileName,
Mat mat,
ImreadModes loadType
)
Public Function ReadFile (
fileName As String,
mat As Mat,
loadType As ImreadModes
) As Boolean
public:
virtual bool ReadFile(
String^ fileName,
Mat^ mat,
ImreadModes loadType
) sealed
abstract ReadFile :
fileName : string *
mat : Mat *
loadType : ImreadModes -> bool
override ReadFile :
fileName : string *
mat : Mat *
loadType : ImreadModes -> bool
Parameters
- fileName
- Type: SystemString
The name of the image file - mat
- Type: Emgu.CVMat
The Mat to read into - loadType
- Type: Emgu.CV.CvEnumImreadModes
Image load type.
Return Value
Type:
BooleanTrue if the file can be read into the Mat
Implements
IFileReaderMatReadFile(String, Mat, ImreadModes)
See Also