Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   Drawing grayscale images in MFC from intensity values stored in an array (http://www.go4expert.com/forums/drawing-grayscale-images-mfc-intensity-t17361/)

kitster 6May2009 07:23

Drawing grayscale images in MFC from intensity values stored in an array
 
Hi All

First of all, I have just started MFC programming so please excuse my inexperience.

My question is:

If I have an array (say 640 x 480) of intensity values of gray level of an image, how do I go about drawing it out on a MFC dialog application.

For example, in Matlab, all I need to do is execute "image(array)". Is there such magical functions in MFC?

Does someone have a simple example?

Thanks heaps,
Kit


All times are GMT +5.5. The time now is 06:33.