1. A method for tone-mapping a first image frame in a sequence of image frames, comprising: applying a spatiotemporal filter to each pixel of the first image frame, based on a forward optical flow and a backward optical flow, to produce a base layer image; applying a temporal filter to each pixel of the first image frame, based on the forward optical flow and the backward optical flow, to produce a temporally filtered frame; producing a detail layer image based on the base layer image and the temporally filtered frame; applying a first tone curve to the base layer image to produce a tone-mapped base layer image; applying a second tone curve to the detail layer to produce a tone-mapped detail layer image; and combining the tone-mapped base layer image with the tone-mapped detail layer image to produce a tone-mapped image frame.