MathGroup Archive 2006

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

Search the Archive

Re: surface plot of an image

  • To: mathgroup at
  • Subject: [mg70893] Re: surface plot of an image
  • From: dh <dh at>
  • Date: Wed, 1 Nov 2006 03:55:00 -0500 (EST)
  • References: <ei4mb2$e2t$>

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.

alemarabi at 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

  • Prev by Date: Re: Publicon
  • Next by Date: Re: Matching with a "Flat" function
  • Previous by thread: Re: surface plot of an image
  • Next by thread: NRoots note