Gaussian Bandpass Filter for Image Processing

version (2.33 KB) by Leonardo O. Iheme
This function performs Gaussian bandpass filtering in the frequency domain


Updated Mon, 04 Apr 2011 13:19:59 +0000

View License

Butterworth Bandpass Filter
This simple function was written for my Digital Image Processing course
at Eastern Mediterranean University taught by
Assoc. Prof. Dr. Hasan Demirel
for the 2010-2011 Spring Semester
for the complete report:

Written By:
Leonardo O. Iheme (
24th of March 2011

I = The input grey scale image
d0 = Lower cut off frequency
d1 = Higher cut off frequency

The function makes use of the simple principle that a bandpass filter
can be obtained by multiplying a lowpass filter with a highpass filter
where the lowpass filter has a higher cut off frquency than the high pass filter.

ima = imread('grass.jpg');
ima = rgb2gray(ima);
filtered_image = gaussianbpf(ima,30,120);
Gaussian Bandpass Filter

Cite As

Leonardo O. Iheme (2022). Gaussian Bandpass Filter for Image Processing (, MATLAB Central File Exchange. Retrieved .

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

Inspired: Digital Image Processing

Community Treasure Hunt

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

Start Hunting!