CvMatLoadImageM Method 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 static CvMat LoadImageM(
	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: CvMat
the reference to the loaded image.
See Also

Reference