Smoothing

The Smoothing operation is used to blur the diffraction patterns. It consists in applying an uniformly filled convolution kernel on the diffraction pattern.

Parameters

The size of the kernel is specified by the user. It must be an odd value greater than 1. The greater the kernel size the blurrier will be the diffraction pattern.

../../../../../_images/smoothing_original.png

Original pattern

../../../../../_images/smoothing_11.png

Smoothed pattern with a convolution kernel of 11x11