MathGroup Archive 2006

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

Search the Archive

Re: Image Processing


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 smc.vnet.net>,
Charlie
Springer<RAM at regnirps.com> 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