[Scipy-tickets] [SciPy] #1135: ndimage.grey_dilation doesn't work with scalar size or specified structure

SciPy Trac scipy-tickets@scipy....
Mon Mar 22 10:13:43 CDT 2010


#1135: ndimage.grey_dilation doesn't work with scalar size or specified structure
-----------------------+----------------------------------------------------
 Reporter:  zachrahan  |       Owner:  somebody
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:  0.8.0   
Component:  Other      |     Version:  0.7.0   
 Keywords:             |  
-----------------------+----------------------------------------------------
 There's a bug in ndimage.grey_dilation that prevents it from working when
 a scalar "size" parameter (as opposed to an n-d tuple), or when a
 structure is provided (as opposed to a size and/or a footprint).

 Tests (using grey_dilation on binary images only) and a patch are
 attached. This could use some review from someone familiar with what
 grey_dilation ought to do on non-binary images, and perhaps some tests of
 that, to make sure the patch is proper.

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


More information about the Scipy-tickets mailing list