R/components.R
connect_components.Rd
The function finds the connected components in an array and returns a labeled array of the same size
connect_components(roi_mask, r = 21)
array to find connected components in
radius of the connected component filter
labeled array of the same size