Is it possible to combine Retinex and Histogram Equalization Methode?
3 views (last 30 days)
Show older comments
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
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:
- imgaussfilt: https://www.mathworks.com/help/images/ref/imgaussfilt.html
- idct2: https://www.mathworks.com/help/images/ref/idct2.html
- dct2: https://www.mathworks.com/help/images/ref/dct2.html
- histeq: https://www.mathworks.com/help/images/ref/histeq.html
Hope it helps!
0 Comments
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!