1. A method for contrast enhancement of an input image, the method: comprising: filtering a down-sampled image with a low-pass filter; partitioning the down-sampled image into a set of sub-images; deriving a sub-image transform for at least one of the sub-images mapping pre-filtered luminance values of the sub-image to post-filtered luminance values of the sub-image; selecting at least one of sub-image transforms for a pixel of interest in the input image; generating an output transform from the selected sub-image transforms; and applying the output transform to the pixel of interest in the input image.