Efficiently reduce the exposure difference within a frame