grains.gala_light.regional_minima

grains.gala_light.regional_minima(a, connectivity=1)[source]

Find the regional minima in an ndarray. As written in the MATLAB documentation of the imregionalmin function: “Regional minima are connected components of pixels with a constant intensity value, surrounded by pixels with a higher value.”