Re: surface plot of an image
- To: mathgroup at smc.vnet.net
- Subject: [mg70893] Re: surface plot of an image
- From: dh <dh at metrohm.ch>
- Date: Wed, 1 Nov 2006 03:55:00 -0500 (EST)
- References: <ei4mb2$e2t$1@smc.vnet.net>
Hi Ale, hidden in your picture, there is an array of grey values. You may locate it by using InputForm or FullForm. If you e.g. import a BMP file it has the form: Raster[{array}_,___]. You would extract this by: arr = Cases[g, Raster[x_, ___] -> x][[1]]; Having extracted the array arr you may e.g. use ListContourPlot to look at it. Daniel alemarabi at gmail.com wrote: > Hi, > > I have a microscopy image in gray levels and would like to convert it > to a surface plot, in order to visualize the differences in grey values > accros the picture. > Is there an easy (or already) existing way to do that? > Thank you in advance, > > Ale >