Importing Graphics into a table
- To: mathgroup at smc.vnet.net
- Subject: [mg14883] Importing Graphics into a table
- From: "Christopher Gorski" <cgorski at adelphia.net>
- Date: Mon, 23 Nov 1998 10:12:01 -0500
- Sender: owner-wri-mathgroup at wolfram.com
I'm trying to convert a black and white graphic to a table of 0s or 1s depending on the pixel color. I have several images in bitmap format that I would like to analyze, but I can't figure out how to get Mathematica to convert the bitmaps into a table. For example, a 100x200 b and w image would yield a 100x200 table of 0s and 1s. I am also interested in learning how to process grayscale images. Thanks, -- Christopher Gorski cgorski at adelphia.net http://www.contrib.andrew.cmu.edu/~cgorski