Loads an image from a file.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- fileName
- Type: SystemString
Name of file to be loaded. - flags (Optional)
- Type: OpenCvSharpLoadMode
Specifies color type of the loaded image
Return Value
Type: Mat[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ImRead(System.String,OpenCvSharp.LoadMode)"]
See Also