from skimage import measure,morphology
def imregionalmin(image):
"""Similar to matlab's imregionalmin"""
reg_max_loc = morphology.local_minima(image)
return reg_max_loc.astype(np.uint8)
腾讯大学 scikit-image —— morphology —— local_minima
2023-11-12 22:18:04
from skimage import measure,morphology
def imregionalmin(image):
"""Similar to matlab's imregionalmin"""
reg_max_loc = morphology.local_minima(image)
return reg_max_loc.astype(np.uint8)
腾讯大学 scikit-image —— morphology —— local_minima