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
Parameters
- filename
- Type: SystemString
Name of file to be loaded. - flags
- Type: OpenCvSharpLoadMode
Specifies colorness and Depth of the loaded image.
Return Value
Type: CvMatthe reference to the loaded image.
See Also