[Scipy-tickets] [SciPy] #1716: interpolation's output argument too restrictive

SciPy Trac scipy-tickets@scipy....
Thu Aug 2 15:06:26 CDT 2012

#1716: interpolation's output argument too restrictive
 Reporter:  tmbdev       |       Owner:  somebody   
     Type:  enhancement  |      Status:  new        
 Priority:  normal       |   Milestone:  Unscheduled
Component:  Other        |     Version:  0.10.0     
 Keywords:               |  
 Currently, the functions in scipy.ndimage.interpolation are very finicky
 about the size of the output array.  This causes code to have all sorts of
 weird workaround for edge cases.

 A much more useful behavior would be if the output array could have any
 shape.  Output pixels outside the output array would be discarded, and
 parts of the output array for which no output is actually generated would
 remain untouched.

 So, preferably, code like the following would work and just (efficiently)
 negate a 10x10 patch within the big image.

 image = generate_big_image((2000,3000))
 patch = empty((10,10))
 patch = -patch


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

More information about the Scipy-tickets mailing list