bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / morphology / footprints / footprint_from_sequence
function
skimage.morphology.footprints:footprint_from_sequence
source: /dev/scikit-image/src/skimage/morphology/footprints.py :57
Signature
def footprint_from_sequence ( footprints ) Summary
Convert a footprint sequence into an equivalent ndarray.
Parameters
footprints: tuple of 2-tuplesA sequence of footprint tuples where the first element of each tuple is an array corresponding to a footprint and the second element is the number of times it is to be applied. Currently, all footprints should have odd size.
Returns
footprint: ndarrayAn single array equivalent to applying the sequence of
footprints.
Aliases
-
skimage.morphology.footprint_from_sequence