The DRS function automatically suppresses blocked shadows and blown highlights. A gamma curve and knee slope are estimated to match the contrast of each pixel, and applied in real time. When dark, bright, and intermediate shades are all contained in the same scene, this produces excellent gradation for each shade. The images that result are enhanced by a visually wide dynamic range.