Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Image Processing

  • To: mathgroup at
  • Subject: [mg66082] Re: Image Processing
  • From: "Mariusz Jankowski" <mjankowski at>
  • Date: Sat, 29 Apr 2006 03:40:14 -0400 (EDT)
  • Organization: University of Southern Maine
  • References: <e2srgo$3bv$>
  • Sender: owner-wri-mathgroup at

Hi Charlie, solution number one is to get the Digital Image Processing
package, solution number two is:

img = Import[filename, "JPEG"];

rawdata = img[[1,1]];

{r,g,b} = Transpose[Transpose/@rawdata];

ListDensityPlot[Abs[Fourier[r]], Mesh->False];

Good luck, Mariusz

>>> On 4/28/2006 at 6:41 am, in message <e2srgo$3bv$1 at>,
Springer<RAM at> wrote:
> Hi all.
> Old physicist, new Mathematica user.
> I want to perform 2D FFT's on images. I have used Import to get a JPEG 
> into 
> apparently, a graphic object. I can not see how to get it into a "list 
> of 
> lists" or any form acceptable to Fourier[].
> Anybody have a snippet or some experience? I'm still learning the 
> terminology. If this works out I'll get the grid version for a Mac Quad.
> -- Charlie Springer

  • Prev by Date: Re: Printing Lists to file without {}
  • Next by Date: Testing for a non-constant variance
  • Previous by thread: Re: Image Processing
  • Next by thread: Re: Image Processing