📜  np 数组模糊 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:20.591000             🧑  作者: Mango

代码示例1
from scipy.ndimage.filters import gaussian_filter

blurred = gaussian_filter(a, sigma=7)

#if 3d image:
blurred = gaussian_filter(img, sigma=(5,5,0))