|
Department of Electrical Engineering The Vision Research and Image Science Laboratory |
| Subject | Image enhancement method based on Multiscale Retinex |
| Students | Marina Balabanov and Yaron Zalika |
| Supervisor | Dr. Doron Shaked |
| Finished | May 1999 |
Abstract
Usually there are differences between a recorded color image and the direct observation of the same scene. One of the big differences is the fact that the human visual system is able to distinguish details and vivid colors in shadows and in scenes that contain illuminant shifts.
In this project we examine the performance of an algorithm called A Multiscale Retinex with Color Restoration (MSRCR), presented in [1]. This algorithm tries to imitate human visual “computation” while observing scenes that contains lighting variations. MSRCR is an extension of a former algorithm called Single Scale center/surround Retinex (SSR) [2]. MSRCR achieves simultaneous dynamic range compression, color consistency and lightness rendition. In this project we look for the optimal value of each parameter of the SSR and the MSRCR. The MSRCR algorithm was compared to other two, well known, image enhancement methods – gamma correction and histogram equalization. Results indicated that the performance of the Multiscale Retinex is consistently good, while the performance of the others is quite variable.
Basic Approach
The general mathematical formulation of the center/surround Retinex is
where
denotes the Retinex output, Ii(x,y) the image distribution in
the i'th color spectral band, “*” the convolution operation, and F(x,y)
the surround function
where c is the Gaussian surround space constant and K is selected such that
The MSR output is then simply a weighted sum of the outputs of several different SSR output.
where N is the number of scales,
the i'th component of the n’th scale,
the
i'th spectral component of the MSR output, and wn the weight
associated with the n’th scale. The only difference between
and
is
that the surround function is now given by
The color restoration method for the MSR is given by
where is
a constant parameter of the color restoration function. The MSRCR is given
by
The final version of MSRCR can be written as
where G and b are the final gain and offset values respectively.
In this project we examine several aspects concerning the SSR:
The algorithm was realized as a MATLAB program.
In order to ease the research and to make it more convenient to get the
visual results, we developed a graphic user interface (GUI), see Figure
1. The GUI allows the user to change the MSRCR constants before running
the algorithm and to compare the resulting performance to the performance
of a standard brightness correction (gamma correction).
![]() |
Results
Figure 2 illustrates the MSRCR performance.
As seen the MSRCR algorithm achieves graceful dynamic range compression
together with tonal and color rendition. The MSRCR algorithm was also tested
on some images with familiar colors and no strong lighting defects and
the results showed that the MSRCR does not introduce significant distortions
into images without lighting variations.
![]() |
![]() |
![]() |
|
![]() |
![]() |
Conclusions
Acknowledgments
We would like to thank our supervisor Dr. Doron Shaked for his support and guidance throughout this project. Also we would like to thank Johanan Erez for his attention and help during the whole project and the Ollendorff Research Center Fund which supported this project.