[Scipy-tickets] [SciPy] #1518: ndimage.label gives incorrect labeled components

SciPy Trac scipy-tickets@scipy....
Thu May 3 09:45:23 CDT 2012


#1518: ndimage.label gives incorrect labeled components
---------------------------+------------------------------------------------
 Reporter:  stefan         |       Owner:  somebody   
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  scipy.ndimage  |     Version:  devel      
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by jjhelmus):

 This is the expected results from scipy.ndimage.label.  As discussed in
 the documentation for scipy.ndimage.label any non-zero value in the input
 array are counted as features and zeros are background, so there is only a
 binary  differentiation between features.  Scikits label function
 intepretes different values in the input as seperate features,
 n-differentiation between features.

 Is the n-differentiation a desired for inclusion in scipy?

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


More information about the Scipy-tickets mailing list