SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIPbabak danyal
 
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
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
Image Restoration
Image RestorationImage Restoration
Image RestorationPoonam Seth
 
Noise filtering
Noise filteringNoise filtering
Noise filteringAlaa Ahmed
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restorationMd Shabir Alam
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersSuhaila Afzana
 
Spatial filtering
Spatial filteringSpatial filtering
Spatial filteringDeepikaT13
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainDEEPASHRI HK
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit NotesAAKANKSHA JAIN
 
Image Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):BasicsImage Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):BasicsKalyan Acharjya
 
04 image enhancement edge detection
04 image enhancement edge detection04 image enhancement edge detection
04 image enhancement edge detectionRumah Belajar
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
6 spatial filtering p2
6 spatial filtering p26 spatial filtering p2
6 spatial filtering p2Gichelle Amon
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainMadhu Bala
 
Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersKuppusamy P
 

Was ist angesagt? (20)

08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIP
 
Noise Models
Noise ModelsNoise Models
Noise Models
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Canny Edge Detection
Canny Edge DetectionCanny Edge Detection
Canny Edge Detection
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Noise filtering
Noise filteringNoise filtering
Noise filtering
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
 
Spatial filtering
Spatial filteringSpatial filtering
Spatial filtering
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Image Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):BasicsImage Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):Basics
 
04 image enhancement edge detection
04 image enhancement edge detection04 image enhancement edge detection
04 image enhancement edge detection
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
6 spatial filtering p2
6 spatial filtering p26 spatial filtering p2
6 spatial filtering p2
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial Domain
 
Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filters
 

Ähnlich wie 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
 
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
 
reducing noises in images
reducing noises in imagesreducing noises in images
reducing noises in imagesaswathdas
 

Ähnlich wie 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
 
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
 
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
 
reducing noises in images
reducing noises in imagesreducing noises in images
reducing noises in images
 
Oo2423882391
Oo2423882391Oo2423882391
Oo2423882391
 

Kürzlich hochgeladen

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
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
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
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
 

Kürzlich hochgeladen (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
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
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
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
 

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.