Is this an exact copy from scikit-image?
If yes, why not use that version?
If no, can you put a `See Also` section and link to the relevant `scikit-image` function?