A short-time Goertzel transform is applied to the image signal to transform it into a representation of the spatial frequency component corresponding to the periodic pattern. This representation is processed. Next the inverse of the transformation is computed and the result of the inverse transformation is removed from the image signal.