[Scipy-tickets] [SciPy] #1282: -1 result of eroding 0s

SciPy Trac scipy-tickets@scipy....
Mon Nov 22 07:22:48 CST 2010

#1282: -1 result of eroding 0s
  Reporter:  bshanks        |       Owner:  somebody
      Type:  defect         |      Status:  reopened
  Priority:  normal         |   Milestone:  0.9.0   
 Component:  scipy.ndimage  |     Version:  0.7.0   
Resolution:                 |    Keywords:          

Comment(by stefan):

 I think the problem goes deeper: what does it mean to take the maximum
 over a set after subtracting the mask?  Also, intuitively it seems strange
 to erode an image of zeros and get values smaller than zero.  Can the
 definition for binary and grey-level erosion differ so much that a whole
 new way of understanding is required?  I wasn't sure whether the sum in
 the Wikipedia article and Serra's paper refer to an actual sum, but it
 looks like it does.  I'll have a colleague from the field visiting this
 week, then I can discuss the issue in some more detail and see if I can
 come up with a more satisfying answer.

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

More information about the Scipy-tickets mailing list