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: 1.0.0
Syntax
public static Mat ImDecode(
	byte[] imageBytes,
	ImreadModes mode = ImreadModes.Color
)

Parameters

imageBytes
Type: SystemByte

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

mode (Optional)
Type: OpenCvSharpImreadModes

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

Return Value

Type: Mat

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

See Also