3.15385

3.2 | 13 ratings Rate this file 88 downloads (last 30 days) File Size: 238 KB File ID: #22277

Bandpass filter for image processing

by Shahab Anbarjafari

 

30 Nov 2008

Code covered by BSD License  

A simple application of FFT2 for an image to simulate the effect of bandpass filter

Download Now | Watch this File

File Information
Description

This function is a very simple application of FFT2 for an image to
simulate the effect of bandpass filter with two cut off frequencies. One
can easily modify the programme to do the processes for different images,
and even implement highpass and lowpass filter.
This programme has been written in Spring 2007, as part of my Image
Processing course offered by Assoc. Prof. Dr. Hasan Demirel.
You are free to use this code for academic purposes without referring to me,
Gholamreza % Anbarjafari (Shahab).
The inputs of the function are cutoff frequencies, where as c_off1<c_off2
e.g. c_off1=50 and c_off2=150.
 (c) Gholamreza Anbarjafari (Shahab): shahab.jafari@emu.edu.tr
 (c) Hasan Demirel: hasan.demirel@emu.edu.tr
http://faraday.ee.emu.edu.tr/hdemirel , http://faraday.ee.emu.edu.tr/shahab

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
Other Files BPF_Image.m,
Ipek.JPG
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (10)
12 Dec 2008 alain boyer  
13 Dec 2008 i posh

dedim gibe bu alan malan'den bisey cikmaz!

30 Mar 2009 Kemal

do you know how I can implement your code in SIMULINK?

05 Apr 2009 V. Poor  
05 Apr 2009 Xing Yu  
05 Apr 2009 Robin Torres  
15 Apr 2009 Mustafa

can you provide some code for non-ideal filters?

23 Apr 2009 Nikola

Very helpful

23 Apr 2009 Thomas Clark

This is barely a function:
- Scant description of the required inputs
- No input to determine what image you want to analyse
- No input to control plotting (arbitrarily spawns figures)
- No comments in the code
- Nested for loop makes it orders of magnitude slower than it need be
- Dependancy on the image processing toolkit which isn't necessary
- Ideal cutoff without use of a proper filter will cause very poor quality image processing - unusable for practical purposes.
- No function H1 line
- No outputs

You'll need to address all these issues before your code is even vaguely useful. In the meantime, this is pretty much spam - a single use script hacked together into a function simply by addition of the 'function' line declaration. Please remove it from the FEX - there's pleanty enough spam here already.

24 Apr 2009 Xu Wings  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image processing filtering Shahab Anbarjafari 01 Dec 2008 15:41:27
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com