Loads an image from the specified file and returns the reference to the loaded image.
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: IplImagethe reference to the loaded image.
See Also