Re: importing images
- To: mathgroup at smc.vnet.net
- Subject: [mg8514] Re: importing images
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Thu, 4 Sep 1997 02:20:04 -0400
- Organization: University of Western Australia
- Sender: owner-wri-mathgroup at wolfram.com
Al Arduengo wrote: > I am trying to utilize Mma 3.0 in my Image Processing course and have > run into a bit of a snag. There are some good Image Processing courses out there: have a look at http://eeunix.ee.usm.maine.edu/ee/faculty/mjkcc/docs/ele489/489.html > It seems that it can DISPLAY many forms of > graphics, but I wish to be able to, say, import a 8-bit grayscale *.gif > file into mma as a matrix of grayscale values. The same would apply to > jpeg, tiff, and bmp files as well. Has anyone done this or is there a > kind soul who could shed some light on this subject for me? One possibility is to simply paste the graphic into Mathematica and then do a Convert To InputForm. This will digitize the image into a RasterArray. Cheers, Paul ____________________________________________________________________ Paul Abbott Phone: +61-8-9380-2734 Department of Physics Fax: +61-8-9380-1014 The University of Western Australia Nedlands WA 6907 mailto:paul at physics.uwa.edu.au AUSTRALIA http://www.pd.uwa.edu.au/Paul God IS a weakly left-handed dice player ____________________________________________________________________