From: <jd...@us...> - 2007-10-25 19:41:21
|
Revision: 4006 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4006&view=rev Author: jdh2358 Date: 2007-10-25 12:41:13 -0700 (Thu, 25 Oct 2007) Log Message: ----------- replaced image read w/ pylab for portability Modified Paths: -------------- trunk/py4science/examples/skel/fft_imdenoise_skel.py Modified: trunk/py4science/examples/skel/fft_imdenoise_skel.py =================================================================== --- trunk/py4science/examples/skel/fft_imdenoise_skel.py 2007-10-25 19:39:31 UTC (rev 4005) +++ trunk/py4science/examples/skel/fft_imdenoise_skel.py 2007-10-25 19:41:13 UTC (rev 4006) @@ -31,8 +31,10 @@ # 'main' script -im = # XXX make an image array from the file 'moonlanding.jpg', using the - # imread() function from scipy.misc.pilutil. +im = # XXX make an image array from the file 'moonlanding.png', using the + # pylab imread() function. You will need to just extract the red + # channel from the MxNx4 RGBA matrix to represent the grayscale + # intensities F = # Compute the 2d FFT of the input image. Look for a 2-d FFT in N.dft This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |