Cv2ImDecode Method (Byte, 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(
byte[] buf,
ImreadModes flags
)
Public Shared Function ImDecode (
buf As Byte(),
flags As ImreadModes
) As Mat
public:
static Mat^ ImDecode(
array<unsigned char>^ buf,
ImreadModes flags
)
static member ImDecode :
buf : byte[] *
flags : ImreadModes -> Mat
OpenCvSharp.Cv2.ImDecode = function(buf, flags);
Parameters
- buf
- Type: SystemByte
The input array of vector of bytes. - flags
- Type: OpenCvSharpImreadModes
The same flags as in imread
Return Value
Type:
Mat
See Also