bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / morphology / footprints / mirror_footprint
function
skimage.morphology.footprints:mirror_footprint
source: /dev/scikit-image/src/skimage/morphology/footprints.py :1026
Signature
def mirror_footprint ( footprint ) Summary
Mirror each dimension in the footprint.
Parameters
footprint: ndarray or tupleThe input footprint or sequence of footprints
Returns
inverted: ndarray or tupleThe footprint, mirrored along each dimension.
Examples
footprint = np.array([[0, 0, 0], [0, 1, 1], [0, 1, 1]], np.uint8) mirror_footprint(footprint)✓
Aliases
-
skimage.morphology.mirror_footprint