File Exchange

image thumbnail

Homomorphic filtering

version 1.0 (167 KB) by

Homomorphic filtering for beginners

10 Downloads

Updated

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

Comments and Ratings (7)

Ondrej Licko

@minutiae can you correct the code?

minutiae

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

Eleni

Eleni (view profile)

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?

mahnaz

mahnaz (view profile)

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

Error in ==> homofil at 22
im_nf=H.*im_f;

Error in ==> testhomo at 11
homofil(im,d,r,c,order);

Please tell me what shoul i do?

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

babak eh

Rafael Cabeza

Dear
You use log2 instead of log. Please correct this.
Regards

MATLAB Release
MATLAB 7.3 (R2006b)

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video