| 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
)
Public Shared Function ImDecode (
imageBytes As Byte(),
Optional mode As ImreadModes = ImreadModes.Color
) As Mat
public:
static Mat^ ImDecode(
array<unsigned char>^ imageBytes,
ImreadModes mode = ImreadModes::Color
)
static member ImDecode :
imageBytes : byte[] *
?mode : ImreadModes
(* Defaults:
let _mode = defaultArg mode ImreadModes.Color
*)
-> Mat
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