1. A computer implemented method for matching pixel values across a plurality of images, the method comprising: receiving a plurality of input pixel values associated with a first input image and a plurality of reference pixel values associated with a second input image; mapping a first input pixel value to a first output pixel value determined based on a first mapping function associating the first input pixel value with a first reference pixel value; mapping a second input pixel value that is consecutive with the first input pixel value to a thresholded second output pixel value limited by a difference between the first input pixel value the first output pixel value; and storing the first and second output pixel values to a memory.