Apparently, `rank.maximum` is slower as compared to `dilation` as we go on increasing the *image size* and vis-a-versa if we increase the *element size*.
Comparisons at the bottom: http://scikit-image.org/docs/dev/auto_examples/applications/plot_rank_filters.html