1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'MFC' started by kitster, May 6, 2009.

  1. kitster

    kitster New Member

    May 6, 2009
    Likes Received:
    Trophy Points:
    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,

Share This Page