saliency icon indicating copy to clipboard operation
saliency copied to clipboard

Resolve deprecation of selem argument (now footprint) in skimage.morphology.dilation

Open davedgd opened this issue 2 years ago • 2 comments

Recent versions of scikit-image have completely deprecated the selem argument in favor of dilation:

skimage.morphology.dilation Complete deprecation of selem parameter

This minor patch to xrai.py resolves the issue on line 126.

davedgd avatar Apr 10 '23 20:04 davedgd

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Apr 10 '23 20:04 google-cla[bot]

@mantasu: Makes sense -- updated all three references from selem to footprint -- thanks!

davedgd avatar Jul 24 '23 18:07 davedgd

Thanks for submitting this fix!

tolga-b avatar Mar 04 '24 14:03 tolga-b