Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

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




  • Prev by Date: Re: Exact value of Cos[Pi/17]
  • Next by Date: Stupid problems on bracket and parenthesis! Please Help
  • Previous by thread: Re: Mechanical Systems Problem
  • Next by thread: Re: Importing Graphics into a table