You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This preserves sharp edges by systematically looping through each pixel and adjusting weights to the adjacent pixels accordingly.
% bif = bilateral filter
% im = input image
% sigd = domain parameter for spatial kernel
% sigr = range parmeter for intensity kernel
% n = noise intensity
% out = output image
% Code Developed BY : Suraj Kamya
% kamyasuraj@yahoo.com
% Other files used in this function
% rpadd = another function is used
% PSN = Peak Signal to noise ratio
% IEF = Image Enhancement Factor
% For ex.
% im=imread('bgray.jpg');
% out=bif(im,3,0.2,0.1);
Cite As
Suraj Kamya (2026). Bilateral Filter (https://au.mathworks.com/matlabcentral/fileexchange/46561-bilateral-filter), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (34.2 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
