Image Processing using visual c++
-
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
-
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
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.
-
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
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.
-
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
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[^]