pub fn regions<OutType>(
) -> Array<OutType> where
OutType: HasAfEnum + RealNumber,
Find blobs in given image.
Given a binary image (with zero representing background pixels), regions computes a floating point image where each connected component is labeled from 1 to N, the total number of components in the image.
inputis the input image
conncan take one of the values of Connectivity
Array with labels indicating different regions