Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv::Mat to hBitmap

Hello,

I need to transform a cv:Mat picture into a Bitmap or hBitmap, in order to display it inside of a Picture Control, for a MFC application (C++). I searched online; but what i found is mainly for IplImage. Any suggestions?

Thanks Beforehand =)

click to hide/show revision 2
retagged

updated 2014-05-03 06:16:14 -0600

berak gravatar image

cv::Mat to hBitmap

Hello,

I need to transform a cv:Mat picture into a Bitmap or hBitmap, in order to display it inside of a Picture Control, for a MFC application (C++). I searched online; but what i found is mainly for IplImage. Any suggestions?

Thanks Beforehand =)