Re: [Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread Jay Parlar
On 1/26/07, John Hunter <[EMAIL PROTECTED]> wrote: > >>>>> "Jay" == Jay Parlar <[EMAIL PROTECTED]> writes: > > Jay> That's the problem, I believe. 'imread' in mpl always reads > Jay> images in as MxNx4, while Matlab wi

Re: [Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread Jay Parlar
On 1/26/07, John Hunter <[EMAIL PROTECTED]> wrote: > > "Darren" == Darren Dale <[EMAIL PROTECTED]> writes: > > Darren> vmin and vmax dont seem to have any effect on the > Darren> resulting image, at least on my machine with the most > Darren> recent svn. > > I haven't looked at his

[Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread Jay Parlar
I'm trying to learn about 2D fourier transforms and k-space right now. To do this, I'm using the image at http://django.jayparlar.com/4kSnake.png In Matlab, I run the following code: Im = double(imread('4kSnake.png')); FT = fftshift(fft2(Im)); FT_Amp = abs(FT); minAmp = min(min(FT_Amp)); maxAmp =