Is it possible to combine Retinex and Histogram Equalization Methode?
1 回表示 (過去 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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1779540/image.png)
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!