1. A system for adjusting dynamic range of an image including a plurality of pixels, comprising: a processor configured to: a) segment the pixels into blocks, b) compute statistical values for each block based on intensity values of the pixels in each block, and c) adjust the dynamic range of the image by controlling the intensity values of the pixels based on the statistical values, wherein the processor is configured to exclude pixel values in each block before computing the statistical values.