CvMat Constructor (String, LoadMode) OpenCvSharp Class Library
Loads an image from the specified file and returns the reference to the loaded image as CvMat.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public CvMat(
	string filename,
	LoadMode flags
)

Parameters

filename
Type: SystemString
Name of file to be loaded.
flags
Type: OpenCvSharpLoadMode
Specifies colorness and Depth of the loaded image.

Return Value

Type: 
the reference to the loaded image.
See Also

Reference