cupyx.scipy.ndimage.find_objects#
- cupyx.scipy.ndimage.find_objects(input, max_label=0)[source]#
Find objects in a labeled array.
- Parameters:
- Returns:
object_slices – A list of tuples, with each tuple containing N slices (with N the dimension of the input array). Slices correspond to the minimal parallelepiped that contains the object. If a number is missing, None is returned instead of a slice. The label
l
corresponds to the indexl-1
in the returned list.- Return type:
list of tuples