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

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice