Convolution is the first layer in a Neural Network to extract features from an input image. Convolution helps in preserving the relationship between pixels by learning image features using small squares of input data. It is represented by a mathematical operation that takes two inputs such as image matrix and a filter or kernel.
Convolution of a picture with different filters will perform operations like edge detection, blur and sharpen by applying different-different filters.
The example below shows us various convolution image after applying different types of filters or Kernels.