Cv2ImDecode Method (InputArray, ImreadModes)
|
Reads image from the specified buffer in memory.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static Mat ImDecode(
InputArray buf,
ImreadModes flags
)
Public Shared Function ImDecode (
buf As InputArray,
flags As ImreadModes
) As Mat
public:
static Mat^ ImDecode(
InputArray^ buf,
ImreadModes flags
)
static member ImDecode :
buf : InputArray *
flags : ImreadModes -> Mat
OpenCvSharp.Cv2.ImDecode = function(buf, flags);
Parameters
- buf
- Type: OpenCvSharpInputArray
The input array of vector of bytes. - flags
- Type: OpenCvSharpImreadModes
The same flags as in imread
Return Value
Type:
Mat
See Also