Thread: Convert image to matrix

  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    1

    Convert image to matrix

    I must do class exercise about image processing.First,I need to convert image to binary matrix.Can you help me to convert image to binary matrix.At black point is 1 and white point is 0.Thanks

  2. #2
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Your basic raw "bitmapped" (color) image is done with three bytes per pixel, one for red, one for green, and one for blue. How is this image going to be displayed and where does the data come from?
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Advice on raw image matrix matching
    By ejok in forum C++ Programming
    Replies: 1
    Last Post: 06-01-2011, 01:14 PM
  2. Convert video to image
    By rwcradio in forum C Programming
    Replies: 7
    Last Post: 11-20-2007, 03:36 AM
  3. how to convert a bitmap image to a jpg image file using C++?
    By nomer in forum Windows Programming
    Replies: 4
    Last Post: 06-04-2006, 07:40 PM
  4. 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
  5. Read Image to a Matrix
    By scrapedbr in forum C Programming
    Replies: 3
    Last Post: 05-02-2003, 03:53 PM

Tags for this Thread