number_of_island_sizes#
- ctapipe.image.number_of_island_sizes(island_labels)[source]#
Return number of small, medium and large islands
- Parameters:
- island_labels: array[int]
Array with island labels, (second return value of
number_of_islands
)
- Returns:
- n_small: int
number of islands with less than 3 pixels
- n_medium: int
number of islands with 3 <= n_pixels <= 50
- n_large: int
number of islands with more than 50 pixels