与matlab里面 imregionalmin 函数相同的python代码
作者:互联网
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
标签:minima,loc,python,image,matlab,morphology,imregionalmin,local 来源: https://www.cnblogs.com/2944014083-zhiyu/p/14877682.html