Iím studying computer science at the university and i have never use Visual C++.
I had to realize a simple image processing software with visual C++. My image analysis algorithms work on an image represented by a two dimensional pixel array . I know how to work on my pixel matrix, but I really donít know how to extract this matrix from the Bitmap image I had to analyse.
Thus I am searching a visaul C++ fonction convertImage, that can convert a monochromatic (black and white) bitmap image , with an A4 format, into a pixel matrix , that I will use in my program.
Here is the specification of the function that I need :
// definition of the matrix type that will be used for
// represnting the image
Typedef int Matrix  ;
// fonction that convert the bitmap image i had to analyse // into a pixel matrix
Matrice convertImage ( const bmp image ) ;
thank you for your help
there is an image which illustrate the problme in this link.....