Fast morphology erosion and dilatation using batch structurant element subdivision.
pip install morphomath