MatImDecode Method OpenCvSharp Class Library
Creates the Mat instance from image data (using cv::imdecode)

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static Mat ImDecode(
	byte[] imageBytes,
	LoadMode mode = LoadMode.Color
)

Parameters

imageBytes
Type: SystemByte

[Missing <param name="imageBytes"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.ImDecode(System.Byte[],OpenCvSharp.LoadMode)"]

mode (Optional)
Type: OpenCvSharpLoadMode

[Missing <param name="mode"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.ImDecode(System.Byte[],OpenCvSharp.LoadMode)"]

Return Value

Type: Mat

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Mat.ImDecode(System.Byte[],OpenCvSharp.LoadMode)"]

See Also

Reference