Low-pass filtering is easy and always works fine (not included here). High-pass filtering needs conversion of numbers from integer to float before processing and then conversion back to integer -- to keep numbers within their limits. Lena.jpg example is included. Presented on EAEEIE2010 conference ("Re-inventing Image Processing teaching") and published in a book MATLAB and Simulink by Bogumila & Zbigniew MROZEK, https://helion.pl/ksiazki/matsi4
Bogumila & Zbigniew MROZEK (2021). Image processing demo - high pass filter (https://www.mathworks.com/matlabcentral/fileexchange/38436-image-processing-demo-high-pass-filter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!