Display Raw Image on the fly
-
Hi all, I am capturing an image through a camera. The camera returns a pointer to a two dimensional array of pixels. How can I go about displaying these pixels into MFC? (Just like a webcam or a camera with an LCD does) I have read tutorials on displaying .bmp using CBitmap ... However, will MFC understands the raw image file (no header, each pixel has 8bit grayscale). I appreciate all of your help. Thanks, Beou
-
Hi all, I am capturing an image through a camera. The camera returns a pointer to a two dimensional array of pixels. How can I go about displaying these pixels into MFC? (Just like a webcam or a camera with an LCD does) I have read tutorials on displaying .bmp using CBitmap ... However, will MFC understands the raw image file (no header, each pixel has 8bit grayscale). I appreciate all of your help. Thanks, Beou
See SetBitmapBits or SetDIBits. onwards and upwards...