skimage2.morphology.footprint_from_sequence#
- skimage2.morphology.footprint_from_sequence(footprints)[source]#
Convert a footprint sequence into an equivalent ndarray.
- Parameters:
- footprintstuple of 2-tuples
A 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:
- footprintndarray
An single array equivalent to applying the sequence of
footprints.