Method ImRead
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
ImRead(string, ImreadModes)
Loads an image from a file.
public static Mat ImRead(string fileName, ImreadModes flags = ImreadModes.Color)
Parameters
fileNamestringName of file to be loaded.
flagsImreadModesSpecifies color type of the loaded image