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!