Is it possible to combine Retinex and Histogram Equalization Methode?
2 次查看(过去 30 天)
显示 更早的评论
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!
回答(1 个)
Arnav
2024-9-26
编辑:Arnav
2024-9-26
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!