blur_image

pysit.util.image_processing.blur_image(im, sigma=None, freq=None, mesh_deltas=None, n_sigma=1.0)[source]

Returns a blurred image by convolving with a gaussian kernel.

Parameters :

im : ndarray

Input image

sigma : float or ndarray

Standard deviation of blur kernel

freq : :

Cutoff (spatial) frequency of the blur kernel. Equivalent to 1/sigma.

mesh_deltas : iterable, optional

Grid size in physical units. Defaults to array of ones (pixel units).

n_sigma : float

Width of the blur kernel in standard deviations.

Previous topic

gaussian_kernel

Next topic

resample_array

This Page