You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ha, love it. They are so similar. Thanks for spotting this @lagru, and I agree that they should be merged. We need to decide on selem vs footprint vs structure vs neighborhood, though. 😂 See #4154.
Elsewhere we had neighbors, which has now become connectivity, so I guess technically neighborhood is free; but it's not the most intuitive naming to me.
Structuring element is technically a correct naming, but the selem shortening isn't very appealing.
footprint would be consistent with SciPy; but, note that SciPy allows for a combination of footprint (which values are taken into consideration) + structure (which can be grey level). I think we only allow 1s and 0s in our structuring elements, so in that sense structure is appealing as the "combination" of footprint+structure.
Right now there are
scikit-image/skimage/morphology/_util.py
Lines 8 to 29 in 9aac849
and
scikit-image/skimage/morphology/_util.py
Lines 129 to 156 in 9aac849
which have very much in common and should probably be merged.
The text was updated successfully, but these errors were encountered: