gaussian_kernel

pysit.util.image_processing.gaussian_kernel(size, sigma, mesh_deltas=None)[source]

Returns a normalized gauss kernel array for convolutions.

Parameters :

size : iterable

Number of pixels per standard deviation

sigma : float or iterable

Standard deviation of gaussian in physical units

mesh_deltas : iterable, optional

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

Previous topic

LBFGS

Next topic

blur_image

This Page