To display an OpenCV image or video into your own MFC interface in Visual C++ you can use GDI's function but keep care of details.
Viene presentata una classe la lettura ultra veloce di un file bitmap in C++. La versione originale a cura di Benjamin Kalytta è stata modificata da PkLab introducendo, tra l'altro, il riutilizzo della memoria.
This page describes how to use Image::FromFile methods to read image form file and howto gain fast access to its pixel using
Bitmap::LockBits in VisualStudio. Example code and performance test are shown. Finally, above performace are compared to C++ native CBitmap class.
If you create a DLL that using runtime library then DLL's client application must load required runtime library. If runtime libs loaded by client application aren't same than required by your DLL you will have "unable to run your application. MSVCR80 was not found...."