Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Image Processing using visual c++

Image Processing using visual c++

Scheduled Pinned Locked Moved C / C++ / MFC
c++data-structuresquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cassiopeiaxy
    wrote on last edited by
    #1

    Hi, I am a newbie to image processing and c++. Actually, i have a web cam running, i need to snap shot consecutive pictures and convert each picture into a 2D array storing intensity(integer). If i have 2 picture namely picture 1 and picture 2: Picture 1 -- First 2 D array Picture 2 -- Second 2D array A comparison have to be done with the two 2 D array to find the differences. I have no idea on how should i start the project, anyone can assist me pls? Thanks

    A N F 3 Replies Last reply
    0
    • C Cassiopeiaxy

      Hi, I am a newbie to image processing and c++. Actually, i have a web cam running, i need to snap shot consecutive pictures and convert each picture into a 2D array storing intensity(integer). If i have 2 picture namely picture 1 and picture 2: Picture 1 -- First 2 D array Picture 2 -- Second 2D array A comparison have to be done with the two 2 D array to find the differences. I have no idea on how should i start the project, anyone can assist me pls? Thanks

      A Offline
      A Offline
      ashwath2005
      wrote on last edited by
      #2

      Look at the Api BITMAPINFO AND BITMAPFILEHEADER in MSDN and also the book windows programming by charles petzold.In the book look into BITMAPINFO and BITMAPFILEHEADER apis.

      1 Reply Last reply
      0
      • C Cassiopeiaxy

        Hi, I am a newbie to image processing and c++. Actually, i have a web cam running, i need to snap shot consecutive pictures and convert each picture into a 2D array storing intensity(integer). If i have 2 picture namely picture 1 and picture 2: Picture 1 -- First 2 D array Picture 2 -- Second 2D array A comparison have to be done with the two 2 D array to find the differences. I have no idea on how should i start the project, anyone can assist me pls? Thanks

        N Offline
        N Offline
        normanS
        wrote on last edited by
        #3

        Try searching CodeProject for "video capture" or "webcams" - look for a sample application which captures frames of video to memory. If you set the webcam / capture routine to capture 8-bit Black & White (monochrome), these captured images are really just 2D arrays of intensity (for 8-bit monochrome, each pixel is an intensity value in the range 0 to 255.) If you capture in colour, you will have to convert the colour information of each pixel to an equivalent intensity value. I'd guess there are libraries to do that sort of thing. Find a suitable project to start with, try playing around, then ask specific, detailed questions about any problems you encounter.

        1 Reply Last reply
        0
        • C Cassiopeiaxy

          Hi, I am a newbie to image processing and c++. Actually, i have a web cam running, i need to snap shot consecutive pictures and convert each picture into a 2D array storing intensity(integer). If i have 2 picture namely picture 1 and picture 2: Picture 1 -- First 2 D array Picture 2 -- Second 2D array A comparison have to be done with the two 2 D array to find the differences. I have no idea on how should i start the project, anyone can assist me pls? Thanks

          F Offline
          F Offline
          Farhat Aisha
          wrote on last edited by
          #4

          Hi, Try opencv, it is intel's open source library for image processing. It has many opensource sample applications for image capture from web cam etc http://www.intel.com/technology/computing/opencv/index.htm[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups