{ } Raw JSON

bundles / skimage latest / 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 tuple

The input footprint or sequence of footprints

Returns

inverted : ndarray or tuple

The 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

Referenced by