1. Imaging apparatus for use with an image sensor, the apparatus comprising: a non-linear mapping circuit, which is configured to receive a raw stream of input pixel values generated by the image sensor and to perform a non-linear mapping of the input pixel values to generate a mapped stream of mapped pixel values; and a linear convolution filter, which is arranged to filter the mapped stream of mapped pixel values to generate a filtered stream of filtered pixel values.