5.0

5.0 | 3 ratings Rate this file 50 Downloads (last 30 days) File Size: 2.33 KB File ID: #30947
image thumbnail

Gaussian Bandpass Filter for Image Processing

by

 

01 Apr 2011 (Updated )

This function performs Gaussian bandpass filtering in the frequency domain

| Watch this File

File Information
Description

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:
http://www.scribd.com/doc/51981950/HW4-Frequency-Domain-Bandpass-Filtering

Written By:
Leonardo O. Iheme (leonardo.iheme@cc.emu.edu.tr)
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.

Usage GAUSSIANBPF(I,DO,D1)
Example
ima = imread('grass.jpg');
ima = rgb2gray(ima);
filtered_image = gaussianbpf(ima,30,120);
Gaussian Bandpass Filter

Required Products Image Acquisition Toolbox
Image Processing Toolbox
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
12 Nov 2014 Leonardo O. Iheme

Hello Sudarshan,
Thanks for the 5* rating.
Have you tried initializing with zeros instead? I think you should and then tell us all what happens.

11 Nov 2014 Sudarshan

Why do you initialise the filters that way? lines 45-47. Would be of great help.. Thanks in advance

25 Nov 2013 Anfisa  
14 Oct 2013 Robin Martin  
Updates
04 Apr 2011

Updated the title

Contact us