SlideShare a Scribd company logo
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

Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filter
arulraj121
 
Module 31
Module 31Module 31
Module 31
UllasSS1
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
Suhaila Afzana
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain Filters
Karthika Ramachandran
 
Image segmentation
Image segmentation Image segmentation
Spatial filtering
Spatial filteringSpatial filtering
Spatial filtering
shabanam tamboli
 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIP
babak danyal
 
gaussian filter seminar ppt
gaussian filter seminar pptgaussian filter seminar ppt
gaussian filter seminar ppt
sachin kumar rajput
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquesSaideep
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
lalithambiga kamaraj
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
Poonam Seth
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
University of Potsdam
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
muthu181188
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
Amnaakhaan
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
Poonam Seth
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
AAKANKSHA JAIN
 
Chap6 image restoration
Chap6 image restorationChap6 image restoration
Chap6 image restoration
ShardaSalunkhe1
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
asodariyabhavesh
 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
kavitha muneeshwaran
 

What's hot (20)

Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filter
 
Module 31
Module 31Module 31
Module 31
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain Filters
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Spatial filtering
Spatial filteringSpatial filtering
Spatial filtering
 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIP
 
gaussian filter seminar ppt
gaussian filter seminar pptgaussian filter seminar ppt
gaussian filter seminar ppt
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN 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
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Chap6 image restoration
Chap6 image restorationChap6 image restoration
Chap6 image restoration
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
 

Similar to mean_filter

Noise
NoiseNoise
Noise
Astha Jain
 
NOISE FILTERS IN IMAGE PROCESSING
NOISE FILTERS IN IMAGE PROCESSINGNOISE FILTERS IN IMAGE PROCESSING
NOISE FILTERS IN IMAGE PROCESSING
Animesh Singh Sengar
 
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 high
Iaetsd Iaetsd
 
Hk3513021306
Hk3513021306Hk3513021306
Hk3513021306
IJERA Editor
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
Pallavi 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 Filters
IRJET Journal
 
Image denoising
Image denoisingImage denoising
Image denoising
Haitham Ahmed
 
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
eSAT 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
 
Noise filtering
Noise filteringNoise filtering
Noise filteringAlaa Ahmed
 
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 images
ijbbjournal
 
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 Filters
sipij
 
Spatial operation.ppt
Spatial operation.pptSpatial operation.ppt
Spatial operation.ppt
Bhanubhakta Poudel
 
DIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptxDIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptx
1DA20CS085Nithyashre
 

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
 
Noise filtering
Noise filteringNoise filtering
Noise filtering
 
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
 

Recently uploaded

Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 

Recently uploaded (20)

Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.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.