Skip to contents

The function finds the connected components in an array and returns a labeled array of the same size

Usage

connect_components(roi_mask, r = 21)

Arguments

roi_mask

array to find connected components in

r

radius of the connected component filter

Value

labeled array of the same size