Click or drag to resize

MatImDecode Method

Creates the Mat instance from image data (using cv::decode)

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static Mat ImDecode(
	byte[] imageBytes,
	ImreadModes mode = ImreadModes.Color
)

Parameters

imageBytes
Type: SystemByte
mode (Optional)
Type: OpenCvSharpImreadModes

Return Value

Type: Mat
See Also