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
Jay == Jay Parlar [EMAIL PROTECTED] writes:
Jay One issue might be the use of minAmp and maxAmp in the
Jay Matlab code, and no equivalent in the Python. I thought maybe
Jay the vmin/vmax arguments to 'imshow' might work, but they
Jay don't make much of a difference.
vmin and
On Friday 26 January 2007 11:14, John Hunter wrote:
Jay == Jay Parlar [EMAIL PROTECTED] writes:
Jay One issue might be the use of minAmp and maxAmp in the
Jay Matlab code, and no equivalent in the Python. I thought maybe
Jay the vmin/vmax arguments to 'imshow' might work, but
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 data or the output if fftshift. if vmin and
vmax do nothing, mpl is
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 data or the output
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 will check if the image is
Jay BW and just do MxN. Is there any way to force MxN