Revision: 7886
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7886&view=rev
Author: fer_perez
Date: 2009-10-16 02:11:14 +0000 (Fri, 16 Oct 2009)
Log Message:
-----------
Fix that imdenoise tries to slice into the gray-level moonlanding image as
if it were color.
Fix contributed by Stefan van der Walt.
Modified Paths:
--------------
trunk/py4science/examples/fft_imdenoise.py
Modified: trunk/py4science/examples/fft_imdenoise.py
===================================================================
--- trunk/py4science/examples/fft_imdenoise.py 2009-10-14 20:33:45 UTC (rev
7885)
+++ trunk/py4science/examples/fft_imdenoise.py 2009-10-16 02:11:14 UTC (rev
7886)
@@ -40,7 +40,7 @@
#@ - extract all rows, all columns, 0-th plane to get the first
#@ channel
#@ - the resulting array should have 2 dimensions only
- im = plt.imread('data/moonlanding.png').astype(float)[:,:,0] #@
+ im = plt.imread('moonlanding.png').astype(float) #@
print "Image shape:",im.shape
except:
print "Could not open image."
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins