[Scipy-tickets] [SciPy] #1378: ndimage.rotate misses some values

SciPy Trac scipy-tickets@scipy....
Tue May 8 16:52:48 CDT 2012


#1378: ndimage.rotate misses some values
---------------------------+------------------------------------------------
 Reporter:  tmcookies      |       Owner:  somebody   
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  scipy.ndimage  |     Version:  0.7.2      
 Keywords:  rotate 3d      |  
---------------------------+------------------------------------------------

Comment(by jjhelmus):

 This bug is a problem in the map_coordinate function ni_interpolation.c
 marking indices slightly over or slightly under the valid range as
 invalid.  In the above example this comes down to something like 2.0000001
 > 2 but this difference should be ignored.

 Pull request 206 addresses this in an extreme case by allowing up to a
 half point different:
 https://github.com/scipy/scipy/pull/206

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


More information about the Scipy-tickets mailing list