We will consider a very powerful group of functions, spatial operators, where each output pixel is a function of the corresponding input pixel and its neighbours.