Is it possible to combine Retinex and Histogram Equalization Methode?

2 views (last 30 days)
Hey Guys, im new to the game and i want to ask if it's possible to combine 2 methods (Retinex and Histogram Equalization)? i would appreciate anyone who willing to give me a little explanation and codes. i have been trying to find it anywhere and without a success. I hope anyone could help me to find and solve this problem.
Thank you!

Answers (1)

Arnav
Arnav on 26 Sep 2024
Edited: Arnav on 26 Sep 2024
Hi Jamie,
I understand that you want to combine Retinex Method with Histogram Equalization to process images.
The overview of the procedure is shown below:
The Image is processed by MSR (multiscale retinex) and HE (histogram equalization) separately and then combined using high and low pass filters respectively. The essential equation is:
Where IDCT and DCT are inverse discrete cosine transform and discrete cosine transform respectively. This can be done in MATLAB using idct2 and dct2 functions.
HE can be used in a straightforward manner using histeq function in MATLAB.
To use MSR, Illumination can be calculated by applying gaussian filters using imgaussfilt of different scales and then taking a weighted average.
You may refer to the paper for the same:
Additionally, refer to the following documentation links for more details about the functions suggested:
Hope it helps!

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products


Release

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!