[Scipy-tickets] [SciPy] #1649: ndimage convolution with large mask uses too much memory

SciPy Trac scipy-tickets@scipy....
Thu Apr 26 14:02:58 CDT 2012


#1649: ndimage convolution with large mask uses too much memory
---------------------------+------------------------------------------------
 Reporter:  stefan         |       Owner:  somebody   
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  scipy.ndimage  |     Version:  0.10.0     
 Keywords:                 |  
---------------------------+------------------------------------------------
 To reproduce:

 {{{
 import scipy.ndimage
 import numpy as np

 def run(image, block_size):
     mask = np.ones((block_size, block_size))
     scipy.ndimage.convolve(image, mask)

 if __name__ == "__main__":
     x = np.zeros((200, 200))
     run(x, 125)
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1649>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list