Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np array blurring

from scipy.ndimage.filters import gaussian_filter

blurred = gaussian_filter(a, sigma=7)

#if 3d image:
blurred = gaussian_filter(img, sigma=(5,5,0)) 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #np #array #blurring
ADD COMMENT
Topic
Name
8+1 =