Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CvvImage and Draw2HDC was available before OpenCV 2.2.

You could retrieve some old code from somewhere

Anyway you can check my own class PkMatToGDI that uses same principle of Draw2HDC http://www.pklab.net/?&id=390&lang=EN&t=How-to-display-an-OpenCV-image-or-video-in-your-own-MFC-interface

An interesting implementation is here: http://www.codeproject.com/Tips/815215/OpenCV-Cplusplus-brick-Class-for-Beginners The author creates a namedWindow as child of MFC Dialog over a Dialog ctrol. After this he uses cv::imshow

CvvImage and Draw2HDCCvvImage::DrawTOHDC was available before OpenCV 2.2.

You could retrieve some old code from somewhere

Anyway you can check my own class PkMatToGDI that uses same principle of Draw2HDC DrawTOHDC http://www.pklab.net/?&id=390&lang=EN&t=How-to-display-an-OpenCV-image-or-video-in-your-own-MFC-interface

An interesting implementation is here: http://www.codeproject.com/Tips/815215/OpenCV-Cplusplus-brick-Class-for-Beginners The author creates a namedWindow as child of MFC Dialog over a Dialog ctrol. After this he uses cv::imshow