- 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.
A new structuring element obtained by dilating
iterations- 1) times with itself.
- Return type