File Exchange

image thumbnail

Homomorphic filtering

version (167 KB) by Qadeer Ahmed
Homomorphic filtering for beginners


Updated 08 Sep 2008

View License

MATLAB code for beginners that performs Homomorphic filtering, Using Butterworth High Pass Filter for performing filtering.

Copy the files in your work space
Type "ho_filter" to see the results

Cite As

Qadeer Ahmed (2021). Homomorphic filtering (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Ondrej Licko

@minutiae can you correct the code?


Two errors in the algorithm:
1. fftshift was not used to center the DFT of image
2. zero padding was not performed.


what d stands for in this function? I guess r is the rows , c is the columns and n is the order. How does n affect the final output? Can you be more descriptive for beginners?


??? Error using ==> times
Matrix dimensions must agree.

Error in ==> homofil at 22

Error in ==> testhomo at 11

Please tell me what shoul i do?

amit pathania

I tried your algorithm but i am getting no output,just white image.can u help me?

babak eh

Rafael Cabeza

You use log2 instead of log. Please correct this.

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!