Re: BMP->Table
- To: mathgroup at smc.vnet.net
- Subject: [mg31089] Re: BMP->Table
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 9 Oct 2001 01:55:40 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <9pmekt$65t$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, gr=Import["yourBmpPicture.bmp"]; yourtable=gr[[1,1]]; ??? Because Mathematica imports the bitmap as Graphics[Raster[tableOfValues,___]] the table of gray-values is at position {1,1} Regards Jens Wonko the Sane wrote: > > Is there a way in Mathematica to convert a greyscale Bitmap into a Table of > values where each element in the array corresponds to the value (0-255) of > the pixel at that point. > > Cheers > > Wonko the sane > -- > "I wish there was a knob on the TV to turn up the intelligence, > There's a knob called brightness, but it doesn't work." > Eugene P. Gallagher.