Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

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.


  • Prev by Date: Re: Require derivation for the intersection of three planes
  • Next by Date: Multiple scales for Y axis of plot?
  • Previous by thread: Re: BMP->Table
  • Next by thread: Using results of Solve[simultaneous equations]