I have a source that gives me a jpeg in memory stream (Bytes).
I can convert it to System.Drawing.Image but I don't know how
to convert it to Emgu Image.
Maybe a direct conversion to Emgu Image is possible ?
I'm working in C# under VS2010.
Thanks.
SW
相关问题
- How to get the background from multiple images by
- Try to load image with Highgui.imread (OpenCV + An
- CV2 Image Error: error: (-215:Assertion failed) !s
- How do I apply a perspective transform with more t
- How to get the bounding box of text that are overl
相关文章
- How do I append metadata to an image in Matlab?
- Difference between SuspendLayout and BeginUpdate
- c# saving very large bitmaps as jpegs (or any othe
- What share of Android devices benefits from Libjpe
- Python open jp2 medical images - Scipy, glymur
- On a 64 bit machine, can I safely operate on indiv
- Converting PIL Image to GTK Pixbuf
- Debugging unmanaged C++ images in Visual Studio
You can first convert System.Drawing.Image object to a Bitmap and then create an Emgu.CV.Image with that bitmap. The code is as follows:
Better, if you have a memory stream, you can get a bitmap directly from the memory stream
You can convert your array bytes to Emgu Image<,> with a code like the following...
Using ps2010 solution, I had wrote this to get image from a http: