摘要 |
A method of generating an image enhancement function for enhancing an input image comprising a plurality of pixels to form an enhanced output image. The method includes receiving a reference image comprising a plurality of pixels; receiving an enhanced image derived from the reference image comprising a corresponding plurality of pixels; calculating a plurality of lookup tables, each of which maps a first plurality of pixel values to a second plurality of pixel values; and generating the image enhancement function comprising a spatially varying function of the lookup tables which when applied to the reference image generates an approximation to the enhanced image. |