This paper presents a new method of compressing the dynamic range of wide dynamic range scenes. This method is based on the Multi Scale Retinex algorithm. It improves the results of the original Multi Scale Retinex algorithm in a way that retains the global brightness contrast and the natural impression of the resulting image by recombining the original picture in a certain weight. Further improvement of the global brightness contrast is achieved by adjusting the histogram of the resulting picture. The paper explores the performance of this modified algorithm on different wide dynamic range scenes and points out its advantages over other dynamic range compression algorithms.