It is also possible to create an Image from a .Net Bitmap object. The code in C# would be
Image<Bgr, Byte> img = new Image<Bgr, Byte>(bmp); //where bmp is a Bitmap
You can find the official documnetation here
Question
I need to convert a bitmap image to a Image format image so that I can display it in my image box. Please help thanks!
Solution
It is also possible to create an Image from a .Net Bitmap object. The code in C# would be
Image<Bgr, Byte> img = new Image<Bgr, Byte>(bmp); //where bmp is a Bitmap
You can find the official documnetation here