- cupyx.scipy.ndimage.iterate_structure(structure, iterations, origin=None)¶
Iterate a structure by dilating it with itself.
structure (array_like) – Structuring element (an array of bools, for example), to be dilated with itself.
iterations (int) – The number of dilations performed on the structure with itself.
origin (int or tuple of int, optional) – If origin is None, only the iterated structure is returned. If not, a tuple of the iterated structure and the modified origin is returned.
A new structuring element obtained by dilating
iterations- 1) times with itself.
- Return type