remove_small_holes
skimage.morphology.remove_small_holes(ar, min_size=64, connectivity=1, in_place=False) [source]
Remove continguous holes smaller than the specified size. Parameters:
ar : ndarray (arbitrary shape, int or bool type) The array containing the connected components of interest. min_size : int, optional (default: 64) The hole component size. connectivity : int, {1, 2, ..., ar.ndim}, optional (default: 1) The connectivity defining the neighborhood of a pixel. in_place : bo