Click or drag to resize

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)
Syntax
public bool ReadFile(
	string fileName,
	Mat mat,
	ImreadModes loadType
)

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: Boolean
True if the file can be read into the Mat

Implements

IFileReaderMatReadFile(String, Mat, ImreadModes)
See Also