Thread: need help in how to convert bit map image in txo dimensionnal array

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    3

    need help in how to convert bit map image in txo dimensionnal array

    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.....
    http://asso.bandrele.anpcba.free.fr/convert.jpg
    Last edited by beide; 03-02-2005 at 04:46 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  2. Class Template Trouble
    By pliang in forum C++ Programming
    Replies: 4
    Last Post: 04-21-2005, 04:15 AM
  3. Hi, how to convert a grayscale image into 8 bit image?
    By Alexanderbinich in forum C++ Programming
    Replies: 3
    Last Post: 03-15-2005, 07:50 PM
  4. Type and nontype parameters w/overloading
    By Mr_LJ in forum C++ Programming
    Replies: 3
    Last Post: 01-02-2004, 01:01 AM