Ask Your Question

Revision history [back]

Load Image from memory

Hi,

Im currently using OpenCVsharp, its a .NET wrapper for OpenCV.

I have been able to load image from disk:

OpenCvSharp.Cv.LoadImage("C:\test\Myimage.bmp",OpenCvSharp.LoadMode.GrayScale);

Now I need to load image from a U16[,] buffer/ 2darray.

There must be some way to load the image from memory insted of disk!