SlideShare a Scribd company logo
1 of 22
Using Mean Filter And Show How The
Window Size Of The Filter Affects Filtering




        TASIRA ADNEEN (10.01.05.041)
         SATYAJIT NAG(10.01.05.042)
        FERDAUS ALAM(10.01.05.044)
        FAHIMUL ISLAM(10.01.05.045)
   MD. ABDULLAH ALL MAMUN(10.01.05.047)
OUTLINES
•   Definition
•   Basic Concept about Mean Filter
•   Algorithm
•   Function
•   Code operation overview
•   Comparisons with other filtering
•   Final filtered output concepts
•   Advantages
•   Disadvantages
•   Utilizations
•   Summary
Audio Filter Conception
• Working in the certain audio frequency range.
• frequency dependent amplifier
• Noise reduction is the process of removing noise
  from a signal
Mean Filter for window size of the
             filter affects
• Mean filter, or average filter is windowed filter of linear
  class, that smoothes signal .The filter works as low-pass
  one

• Replaces the center value in the window with the average.

• filter is for any element of the signal take an average across
  its neighborhood.
Example
• Mean filtering of a single 3x3 window of values
• Center value is replaced by the mean of all nine values
Concepts
• Simple Averaging Formulation.sum up elements and divide
  the sum by the number of elements.
• Filtered 1D signal by mean filter-
Algorithm
•    Place a window over element
•    Take an average
PSEUDO CODE FOR MEAN FILTER WITH WINDOW OF SIZE 5 :
** Move window through all elements of the signal**
for (int i = 2; i < N - 2; ++i)
**Take the average_result[i - 2] =
(signal[i - 2]+ signal[i - 1]+ signal[i]+signal[i + 1]+signal[i + 2])/ 5)
signal  input signal
   result  output signal
   N  length of the signal
for i = (N-1): length(yn)-(N-2)

x(i)= (yn(i-(N/2))+yn(i) + yn(i+(N/2)))/N
yn = q' + 1*randn(1,length(q))  adding noise
Edge Treating
• Window filters there is some problem of edge
  treating.
• signal should be extended.
Functions
• Noise reduction process
• read a audio signal before filtering it for noise using
  wavread function
• record a audio as a wav format in range of 1 min
• reading a signal named speech_dft.wan
• Sampling
• Filtering
• Noise adding
• Denoising
Sampling
• Sample the signal at different frequencies.
• Sampling in high frequencies results a better signal.
• Filter function and better algorithm for less use of
  memory and time.
Filtering and Denoising Process
•   Select the portion of the signal
•   Determining the range of the signal for filtering
•   More points need a better filtering function
•   Adding noise
•   Filtering with using Filter Function
•   Technique used for signal denoising
Signal Observations At Different
       Point of Operation
Comparison Of Mean Filter With
         other Audio filters
 Comparing with Median Filter
                              Order filters difference. mean filter
                               smooth out local variations within an
                               audio Signal.

                                median filter selects the
                                middle value from the original set
                                of recorded signal and mean filters
                                function by finding some form of
                                an average within window based
                                filtering.

                                 Maximum and minimum filters are
                                 two order filters that ,using for
                                 elimination noise.
Comparison Of Mean Filter With other
           Audio filters
• Comparing With Gaussian Filter
                          geometric mean filter works
                          best with gaussian noise and
                          retains detail information
                          better .
                          In Gaussian Noise, each signal
                          will be changed from its original
                          value by a small amount
                          a smoothing mean filter sets each
                          sample of average value, or a
                          weighted average, of itself and its
                          nearby neighbors. And the Gaussian
                          filter is just one possible set of weights.
                          Gaussian filter is similar to mean filter. The
                          difference between them is that in mean filter,
                          every neighbor has the same contribution to
                          the final value.
Comparison Of Mean Filter With other
           Audio filters
• Comparing With Moving Average filter
                 A moving average filter smoothes data by
                              replacing each data point with the average
                             of the neighboring data points defined
                             within the span which’s quite similar to
                             mean filter function
                             The span must be odd, in case of moving
                             average filter and The span can be even or odd in mean
                             filter.
                               The data point to be smoothed must be
                               at the center of the span
For example, To smooth data using a moving average filter with a span of 5.
    ys(1) = y(1)
    ys(2) = (y(1)+y(2)+y(3))/3
     ys(3) = (y(1)+y(2)+y(3)+y(4)+y(5))/5
    ys(4) = (y(2)+y(3)+y(4)+y(5)+y(6))/5
Advantages of Mean Filter
• Mean filtering is a non-linear filtering technique which is sometimes
  useful as it can preserve sharp features in an Audio signal filtering
  noise.
• The most basic of this filter operation is the arithmetic mean filtering
  which finds the arithmetic average for corresponding reduction of
  noise from audio input.
• Fault detection analysis is possible to improve by noise elimination.
• Mean filtering is a simple, intuitive and easy to implement method of
  smoothing images.
Disadvantages of Mean Filter
• Low frequency information in the background has
  not been affected significantly by filtering.
• the mean filter would cope with Gaussian noise
  which was not symmetric about zero.
• It is difficult to treat analytically the effect of a
  median filter. There is no error propagation.
Utilizations
• Mean filtering is most commonly used as a simple
  method for reducing in a signal.
• noise filtering provide more accurate detection and
  localization of defects on distorted image .
• It is used as an edge detector on the image
  processing.
Final Output Observations
• Through this whole process we produced an
  audio signal and took a portion of it and
  added noise with it. Then we did
  filtering(Mean).Then we saw the final output
  of this filtering process .We se that this
  output is with huge amount of noise. That is
  our system error. We can represent this
  error by a plotting a curve.
Error curve
• The effect of this filter on an audio signal is that
  the audio signal is reduced in strength.
  However, the audio signal still remain clearly
  audible. But also the `clear' audio signal is
  affected. With filter lengths greater than 5, the
  quality of the output audio signal degrades
  rapidly.   This      filter   behaves     like     a
  crude(raw/natural) low pass filter.
THANK YOU

More Related Content

What's hot

Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformationsJohn Williams
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
Digital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainDigital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainMostafa G. M. Mostafa
 
Chapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsChapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsasodariyabhavesh
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency DomainAmnaakhaan
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Image degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafImage degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafMD Naseem Ashraf
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation modelAnupriyaDurai
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsVARUN KUMAR
 
Noise filtering
Noise filteringNoise filtering
Noise filteringAlaa Ahmed
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIPbabak danyal
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Kalyan Acharjya
 
Feature detection and matching
Feature detection and matchingFeature detection and matching
Feature detection and matchingKuppusamy P
 

What's hot (20)

Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformations
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Digital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainDigital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency Domain
 
Chapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsChapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woods
 
Ppt ---image processing
Ppt ---image processingPpt ---image processing
Ppt ---image processing
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
 
Image degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafImage degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem Ashraf
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Image transforms
Image transformsImage transforms
Image transforms
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixels
 
Noise filtering
Noise filteringNoise filtering
Noise filtering
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Feature detection and matching
Feature detection and matchingFeature detection and matching
Feature detection and matching
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 

Similar to mean_filter

Performance Comparison of Various Filters and Wavelet Transform for Image De-...
Performance Comparison of Various Filters and Wavelet Transform for Image De-...Performance Comparison of Various Filters and Wavelet Transform for Image De-...
Performance Comparison of Various Filters and Wavelet Transform for Image De-...IOSR Journals
 
Iaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of highIaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of highIaetsd Iaetsd
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 
IRJET- Salt and Pepper Noise Removal using Decision based Filters
IRJET- Salt and Pepper Noise Removal using Decision based FiltersIRJET- Salt and Pepper Noise Removal using Decision based Filters
IRJET- Salt and Pepper Noise Removal using Decision based FiltersIRJET Journal
 
Performance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri imagesPerformance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri imageseSAT Publishing House
 
Performance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri imagesPerformance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri imageseSAT Publishing House
 
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...ijistjournal
 
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...ijistjournal
 
Novel adaptive filter (naf) for impulse noise suppression from digital images
Novel adaptive filter (naf) for impulse noise suppression from digital imagesNovel adaptive filter (naf) for impulse noise suppression from digital images
Novel adaptive filter (naf) for impulse noise suppression from digital imagesijbbjournal
 
Signal Filtering
Signal FilteringSignal Filtering
Signal FilteringImane Haf
 
elsevier_publication_2013
elsevier_publication_2013elsevier_publication_2013
elsevier_publication_2013pranay yadav
 
Study and Analysis of Impulse Noise Reduction Filters
Study and Analysis of Impulse Noise Reduction FiltersStudy and Analysis of Impulse Noise Reduction Filters
Study and Analysis of Impulse Noise Reduction Filterssipij
 
Comparison of Morphological, Averaging & Median Filter
Comparison of Morphological, Averaging & Median FilterComparison of Morphological, Averaging & Median Filter
Comparison of Morphological, Averaging & Median FilterIJMER
 

Similar to mean_filter (20)

Documentation
DocumentationDocumentation
Documentation
 
Noise
NoiseNoise
Noise
 
NOISE FILTERS IN IMAGE PROCESSING
NOISE FILTERS IN IMAGE PROCESSINGNOISE FILTERS IN IMAGE PROCESSING
NOISE FILTERS IN IMAGE PROCESSING
 
Performance Comparison of Various Filters and Wavelet Transform for Image De-...
Performance Comparison of Various Filters and Wavelet Transform for Image De-...Performance Comparison of Various Filters and Wavelet Transform for Image De-...
Performance Comparison of Various Filters and Wavelet Transform for Image De-...
 
Iaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of highIaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of high
 
Hk3513021306
Hk3513021306Hk3513021306
Hk3513021306
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
IRJET- Salt and Pepper Noise Removal using Decision based Filters
IRJET- Salt and Pepper Noise Removal using Decision based FiltersIRJET- Salt and Pepper Noise Removal using Decision based Filters
IRJET- Salt and Pepper Noise Removal using Decision based Filters
 
Image denoising
Image denoisingImage denoising
Image denoising
 
Performance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri imagesPerformance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri images
 
Performance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri imagesPerformance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri images
 
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
 
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
 
Novel adaptive filter (naf) for impulse noise suppression from digital images
Novel adaptive filter (naf) for impulse noise suppression from digital imagesNovel adaptive filter (naf) for impulse noise suppression from digital images
Novel adaptive filter (naf) for impulse noise suppression from digital images
 
Signal Filtering
Signal FilteringSignal Filtering
Signal Filtering
 
elsevier_publication_2013
elsevier_publication_2013elsevier_publication_2013
elsevier_publication_2013
 
Study and Analysis of Impulse Noise Reduction Filters
Study and Analysis of Impulse Noise Reduction FiltersStudy and Analysis of Impulse Noise Reduction Filters
Study and Analysis of Impulse Noise Reduction Filters
 
Spatial operation.ppt
Spatial operation.pptSpatial operation.ppt
Spatial operation.ppt
 
DIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptxDIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptx
 
Comparison of Morphological, Averaging & Median Filter
Comparison of Morphological, Averaging & Median FilterComparison of Morphological, Averaging & Median Filter
Comparison of Morphological, Averaging & Median Filter
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 

Recently uploaded (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 

mean_filter

  • 1. Using Mean Filter And Show How The Window Size Of The Filter Affects Filtering TASIRA ADNEEN (10.01.05.041) SATYAJIT NAG(10.01.05.042) FERDAUS ALAM(10.01.05.044) FAHIMUL ISLAM(10.01.05.045) MD. ABDULLAH ALL MAMUN(10.01.05.047)
  • 2. OUTLINES • Definition • Basic Concept about Mean Filter • Algorithm • Function • Code operation overview • Comparisons with other filtering • Final filtered output concepts • Advantages • Disadvantages • Utilizations • Summary
  • 3. Audio Filter Conception • Working in the certain audio frequency range. • frequency dependent amplifier • Noise reduction is the process of removing noise from a signal
  • 4. Mean Filter for window size of the filter affects • Mean filter, or average filter is windowed filter of linear class, that smoothes signal .The filter works as low-pass one • Replaces the center value in the window with the average. • filter is for any element of the signal take an average across its neighborhood.
  • 5. Example • Mean filtering of a single 3x3 window of values • Center value is replaced by the mean of all nine values
  • 6. Concepts • Simple Averaging Formulation.sum up elements and divide the sum by the number of elements. • Filtered 1D signal by mean filter-
  • 7. Algorithm • Place a window over element • Take an average PSEUDO CODE FOR MEAN FILTER WITH WINDOW OF SIZE 5 : ** Move window through all elements of the signal** for (int i = 2; i < N - 2; ++i) **Take the average_result[i - 2] = (signal[i - 2]+ signal[i - 1]+ signal[i]+signal[i + 1]+signal[i + 2])/ 5) signal  input signal result  output signal N  length of the signal for i = (N-1): length(yn)-(N-2) x(i)= (yn(i-(N/2))+yn(i) + yn(i+(N/2)))/N yn = q' + 1*randn(1,length(q))  adding noise
  • 8. Edge Treating • Window filters there is some problem of edge treating. • signal should be extended.
  • 9. Functions • Noise reduction process • read a audio signal before filtering it for noise using wavread function • record a audio as a wav format in range of 1 min • reading a signal named speech_dft.wan • Sampling • Filtering • Noise adding • Denoising
  • 10. Sampling • Sample the signal at different frequencies. • Sampling in high frequencies results a better signal. • Filter function and better algorithm for less use of memory and time.
  • 11. Filtering and Denoising Process • Select the portion of the signal • Determining the range of the signal for filtering • More points need a better filtering function • Adding noise • Filtering with using Filter Function • Technique used for signal denoising
  • 12. Signal Observations At Different Point of Operation
  • 13. Comparison Of Mean Filter With other Audio filters  Comparing with Median Filter  Order filters difference. mean filter smooth out local variations within an audio Signal. median filter selects the middle value from the original set of recorded signal and mean filters function by finding some form of an average within window based filtering.  Maximum and minimum filters are two order filters that ,using for elimination noise.
  • 14. Comparison Of Mean Filter With other Audio filters • Comparing With Gaussian Filter geometric mean filter works best with gaussian noise and retains detail information better . In Gaussian Noise, each signal will be changed from its original value by a small amount a smoothing mean filter sets each sample of average value, or a weighted average, of itself and its nearby neighbors. And the Gaussian filter is just one possible set of weights. Gaussian filter is similar to mean filter. The difference between them is that in mean filter, every neighbor has the same contribution to the final value.
  • 15. Comparison Of Mean Filter With other Audio filters • Comparing With Moving Average filter A moving average filter smoothes data by replacing each data point with the average of the neighboring data points defined within the span which’s quite similar to mean filter function The span must be odd, in case of moving average filter and The span can be even or odd in mean filter. The data point to be smoothed must be at the center of the span For example, To smooth data using a moving average filter with a span of 5. ys(1) = y(1) ys(2) = (y(1)+y(2)+y(3))/3 ys(3) = (y(1)+y(2)+y(3)+y(4)+y(5))/5 ys(4) = (y(2)+y(3)+y(4)+y(5)+y(6))/5
  • 16. Advantages of Mean Filter • Mean filtering is a non-linear filtering technique which is sometimes useful as it can preserve sharp features in an Audio signal filtering noise. • The most basic of this filter operation is the arithmetic mean filtering which finds the arithmetic average for corresponding reduction of noise from audio input. • Fault detection analysis is possible to improve by noise elimination. • Mean filtering is a simple, intuitive and easy to implement method of smoothing images.
  • 17. Disadvantages of Mean Filter • Low frequency information in the background has not been affected significantly by filtering. • the mean filter would cope with Gaussian noise which was not symmetric about zero. • It is difficult to treat analytically the effect of a median filter. There is no error propagation.
  • 18. Utilizations • Mean filtering is most commonly used as a simple method for reducing in a signal. • noise filtering provide more accurate detection and localization of defects on distorted image . • It is used as an edge detector on the image processing.
  • 19. Final Output Observations • Through this whole process we produced an audio signal and took a portion of it and added noise with it. Then we did filtering(Mean).Then we saw the final output of this filtering process .We se that this output is with huge amount of noise. That is our system error. We can represent this error by a plotting a curve.
  • 21. • The effect of this filter on an audio signal is that the audio signal is reduced in strength. However, the audio signal still remain clearly audible. But also the `clear' audio signal is affected. With filter lengths greater than 5, the quality of the output audio signal degrades rapidly. This filter behaves like a crude(raw/natural) low pass filter.