 | Cv2ImDecode Method (Mat, ImreadModes) |
Reads image from the specified buffer in memory.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntaxpublic static Mat ImDecode(
Mat buf,
ImreadModes flags
)
Public Shared Function ImDecode (
buf As Mat,
flags As ImreadModes
) As Mat
public:
static Mat^ ImDecode(
Mat^ buf,
ImreadModes flags
)
static member ImDecode :
buf : Mat *
flags : ImreadModes -> Mat
Parameters
- buf
- Type: OpenCvSharpMat
The input array of vector of bytes. - flags
- Type: OpenCvSharpImreadModes
The same flags as in imread
Return Value
Type:
Mat[Missing <returns> documentation for "M:OpenCvSharp.Cv2.ImDecode(OpenCvSharp.Mat,OpenCvSharp.ImreadModes)"]
See Also