smooth_image

smooth_image(model: Image, width=1.0, normalise=True)[source]

Smooth an image with a 2D Gaussian kernel

Parameters:
  • model – Image

  • width – Kernel width in pixels

  • normalise – Normalise kernel peak to unity