SlideShare a Scribd company logo
1 of 26
SMOOTHING FILTERS IN
SPATIAL DOMAIN
Submitted by,
M.Madhu Bala
P.Malathi
R.Mathu Sini
V.Praseetha
1
Submitted to,
G. Murugeswari M.E,
Assistant Professor,
MS University,
Triunelveli.
Contents
What is Spatial filter
Mechanism of spatial filter
Smoothing filters in spatial
Linear filter
Non-linear filter
conclusion
2
Spatial Filter
A spatial filter is an image operation where each
pixel value I(u, v) is changed by a function of the
intensities of pixels in a neighborhood of (u, v).
Spatial filtering term is the filtering operations that
are performed directly on the pixels of an image.
3
Mechanism of Spatial Filtering
The process consists simply of moving the filter
mask from point to point in an image.
At each point (x,y) the response of the filter at that
point is calculated using a predefined relationship.
4
Smoothing Spatial Filter
Smoothing filters are used for
 blurring
 noise reduction.
Blurring is used in preprocessing steps to removal
of small details from an image prior to object
extraction and bridging of small gaps in lines or
curves
Noise reduction can be accomplished by blurring
5
Types of Smoothing Filter
There are 2 way of smoothing spatial filters
Linear Filters – operations performed on image
pixel
Order-Statistics (non-linear) Filters - based on
ranking the pixels
6
Linear Filter
Linear spatial filter is simply the average of the
pixels contained in the neighborhood of the filter
mask.
The idea is replacing the value of every pixel in an
image by the average of the gray levels in the
neighborhood defined by the filter mask.
7
Linear Filter (cont..)
This process result in an image reduce the sharp
transitions in intensities.
Two mask
Averaging filter
Weighted averaging filter
8
Averaging Filter
A major use of averaging filters is in the reduction
of irrelevant detail in image.
mxn mask would have a normalizing constant
equal to 1/mn.
Its also known as low pass filter.
A spatial averaging filter in which all coefficients are
equal is called a box filter.
9
Averaging Filter - Example
1 1 1
1 1 1
1 1 1

9
1
10
Weighted Averaging Filter
Pixels are multiplied by different coefficients, thus
giving more weight to some pixel at the expanses of
others.
The center pixel is multiplied by a higher value than
any other, thus giving the pixel more importance in
the calculation of average.
The other pixels are inversely weighted as a
function of their distance from center of mask
11
Weighted Averaging Filter
The general implementation for filtering an MxN
image with a weighted averaging filter of size m x
n is given by the expression
For complete filtered image apply x =
0,1,2,3……..m-1 and y=0,1,2,3,……..n-1 in the
above equation.


 
 

 a
as
b
bt
a
as
b
bt
tsw
tysxftsw
yxg
),(
),(),(
),(
12
Weighted Average Filter -
Example
1 2 1
2 4 2
1 2 1

16
1
13
Order-Statistics Filter
Order-statistics filters are nonlinear spatial filters.
It is based on ordering (ranking) the pixels
contained in the image area encompassed by
the filter,
It replacing the value of the center pixel with the
value determined by the ranking result.
14
Order- statics filter
The filter selects a sample from the window, does
not average
Edges are better preserved than with liner filters
Best suited for “salt and pepper” noise
15
Types of order-statics filter
Different types of order-statics filters are
Minimum filter
Maximum filter
Median filter
16
Minimum Filter
The 0th percentile filter is the min filter.
Minimum filter selects the smallest value in the
window and replace the center by the smallest
value
Using comparison the minimum value can be
obtained fast.(not necessary to sort)
It enhances the dark areas of image
17
Minimum Filter - Example
.
( mask size =3 x 3) ( mask size =7 x 7)
18
Maximum Filter
The maximum filter selects the largest value within
of pixel values, and replace the center by the
largest value.
Using comparison the maximum value can be
obtained fast.(not necessary to sort)
Using the 100th percentile results in the so-called
max filter
it enhances bright areas of image
19
Maximum Filter
mask (3 x 3) mask (7 x 7)
20
Median Filter
Three steps to be followed to run a median filter:
1. Consider each pixel in the image
2. Sort the neighboring pixels into order based upon
their intensities
3. Replace the original value of the pixel with the
median value from the list.
21
Median Filter - Process
22
Median Filter - Example
Median Filter size =7 x 7
23
Median Filter size =3 x 3
conclusion
A linear filter cannot totally eliminate impulse
noise, as a single pixel which acts as an
intensity spike can contribute significantly to the
weighted average of the filter.
Non-linear filters can be robust to this type of
noise because single outlier pixel intensities can
be eliminated entirely.
24
Original image
Median filter
Original image
Mean filter
25
26

More Related Content

What's hot

Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationMostafa G. M. Mostafa
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantizationBCET, Balasore
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency DomainAmnaakhaan
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentationasodariyabhavesh
 
Point processing
Point processingPoint processing
Point processingpanupriyaa7
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Kalyan Acharjya
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram ProcessingAmnaakhaan
 
Image Restoration
Image RestorationImage Restoration
Image RestorationPoonam Seth
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainA B Shinde
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersSuhaila Afzana
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Kalyan Acharjya
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersKarthika Ramachandran
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation pptGichelle Amon
 
Image compression standards
Image compression standardsImage compression standards
Image compression standardskirupasuchi1996
 
Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.SomitSamanto1
 

What's hot (20)

Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Point processing
Point processingPoint processing
Point processing
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram Processing
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Wiener Filter
Wiener FilterWiener Filter
Wiener Filter
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics 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 ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Image compression standards
Image compression standardsImage compression standards
Image compression standards
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.
 

Viewers also liked

Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domainAshish Kumar
 
5 spatial filtering p1
5 spatial filtering p15 spatial filtering p1
5 spatial filtering p1Gichelle Amon
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquessakshij91
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processingAnuj Arora
 
Image enhancement
Image enhancementImage enhancement
Image enhancementAyaelshiwi
 
COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...
COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...
COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...Hemantha Kulathilake
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquesSaideep
 
06 spatial filtering DIP
06 spatial filtering DIP06 spatial filtering DIP
06 spatial filtering DIPbabak danyal
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothningVinay Gupta
 

Viewers also liked (17)

Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domain
 
High pass filter
High pass filterHigh pass filter
High pass filter
 
Low pass filter
Low pass filterLow pass filter
Low pass filter
 
Low pass filters
Low pass filtersLow pass filters
Low pass filters
 
5 spatial filtering p1
5 spatial filtering p15 spatial filtering p1
5 spatial filtering p1
 
SPATIAL FILTER
SPATIAL FILTERSPATIAL FILTER
SPATIAL FILTER
 
Unit3 dip
Unit3 dipUnit3 dip
Unit3 dip
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processing
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Spatial filtering
Spatial filteringSpatial filtering
Spatial filtering
 
Filters
FiltersFilters
Filters
 
COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...
COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...
COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
06 spatial filtering DIP
06 spatial filtering DIP06 spatial filtering DIP
06 spatial filtering DIP
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothning
 

Similar to Smoothing Filters in Spatial Domain

The Performance Analysis of Median Filter for Suppressing Impulse Noise from ...
The Performance Analysis of Median Filter for Suppressing Impulse Noise from ...The Performance Analysis of Median Filter for Suppressing Impulse Noise from ...
The Performance Analysis of Median Filter for Suppressing Impulse Noise from ...iosrjce
 
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
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
Image Filtering Using all Neighbor Directional Weighted Pixels: Optimization ...
Image Filtering Using all Neighbor Directional Weighted Pixels: Optimization ...Image Filtering Using all Neighbor Directional Weighted Pixels: Optimization ...
Image Filtering Using all Neighbor Directional Weighted Pixels: Optimization ...sipij
 
Spatial Domain Filtering.pdf
Spatial Domain Filtering.pdfSpatial Domain Filtering.pdf
Spatial Domain Filtering.pdfswagatkarve
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
 
DIP_Lecture6.pdf. jdowjwdieehekehdjejrejwhehr
DIP_Lecture6.pdf. jdowjwdieehekehdjejrejwhehrDIP_Lecture6.pdf. jdowjwdieehekehdjejrejwhehr
DIP_Lecture6.pdf. jdowjwdieehekehdjejrejwhehrstudyd133
 
Literature survey on impulse noise reduction
Literature survey on impulse noise reductionLiterature survey on impulse noise reduction
Literature survey on impulse noise reductionsipij
 
Paper id 24201427
Paper id 24201427Paper id 24201427
Paper id 24201427IJRAT
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGmuthu181188
 
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
 
A STUDY OF SPECKLE NOISE REDUCTION FILTERS
A STUDY OF SPECKLE NOISE REDUCTION FILTERS A STUDY OF SPECKLE NOISE REDUCTION FILTERS
A STUDY OF SPECKLE NOISE REDUCTION FILTERS sipij
 
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...IRJET Journal
 
Analysis of Non Linear Filters with Various Density of Impulse Noise for Diff...
Analysis of Non Linear Filters with Various Density of Impulse Noise for Diff...Analysis of Non Linear Filters with Various Density of Impulse Noise for Diff...
Analysis of Non Linear Filters with Various Density of Impulse Noise for Diff...IJERA Editor
 

Similar to Smoothing Filters in Spatial Domain (20)

The Performance Analysis of Median Filter for Suppressing Impulse Noise from ...
The Performance Analysis of Median Filter for Suppressing Impulse Noise from ...The Performance Analysis of Median Filter for Suppressing Impulse Noise from ...
The Performance Analysis of Median Filter for Suppressing Impulse Noise from ...
 
A017230107
A017230107A017230107
A017230107
 
I010324954
I010324954I010324954
I010324954
 
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
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Image Filtering Using all Neighbor Directional Weighted Pixels: Optimization ...
Image Filtering Using all Neighbor Directional Weighted Pixels: Optimization ...Image Filtering Using all Neighbor Directional Weighted Pixels: Optimization ...
Image Filtering Using all Neighbor Directional Weighted Pixels: Optimization ...
 
Spatial Domain Filtering.pdf
Spatial Domain Filtering.pdfSpatial Domain Filtering.pdf
Spatial Domain Filtering.pdf
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
DIP_Lecture6.pdf. jdowjwdieehekehdjejrejwhehr
DIP_Lecture6.pdf. jdowjwdieehekehdjejrejwhehrDIP_Lecture6.pdf. jdowjwdieehekehdjejrejwhehr
DIP_Lecture6.pdf. jdowjwdieehekehdjejrejwhehr
 
Literature survey on impulse noise reduction
Literature survey on impulse noise reductionLiterature survey on impulse noise reduction
Literature survey on impulse noise reduction
 
Documentation
DocumentationDocumentation
Documentation
 
Paper id 24201427
Paper id 24201427Paper id 24201427
Paper id 24201427
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
 
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
 
A STUDY OF SPECKLE NOISE REDUCTION FILTERS
A STUDY OF SPECKLE NOISE REDUCTION FILTERS A STUDY OF SPECKLE NOISE REDUCTION FILTERS
A STUDY OF SPECKLE NOISE REDUCTION FILTERS
 
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
 
Image processing
Image processingImage processing
Image processing
 
Analysis of Non Linear Filters with Various Density of Impulse Noise for Diff...
Analysis of Non Linear Filters with Various Density of Impulse Noise for Diff...Analysis of Non Linear Filters with Various Density of Impulse Noise for Diff...
Analysis of Non Linear Filters with Various Density of Impulse Noise for Diff...
 
[IJCT-V3I2P34] Authors: Palwinder Singh
[IJCT-V3I2P34] Authors: Palwinder Singh[IJCT-V3I2P34] Authors: Palwinder Singh
[IJCT-V3I2P34] Authors: Palwinder Singh
 

More from Madhu Bala

Internet of Things (IoT)
Internet of Things (IoT)Internet of Things (IoT)
Internet of Things (IoT)Madhu Bala
 
Operating system
Operating systemOperating system
Operating systemMadhu Bala
 
Greedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack ProblemGreedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack ProblemMadhu Bala
 
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)Madhu Bala
 
Divide and conquer - Quick sort
Divide and conquer - Quick sortDivide and conquer - Quick sort
Divide and conquer - Quick sortMadhu Bala
 
GPRS Technology
GPRS TechnologyGPRS Technology
GPRS TechnologyMadhu Bala
 
Algorithm - Introduction
Algorithm - IntroductionAlgorithm - Introduction
Algorithm - IntroductionMadhu Bala
 
Data structure - Graph
Data structure - GraphData structure - Graph
Data structure - GraphMadhu Bala
 

More from Madhu Bala (10)

Internet of Things (IoT)
Internet of Things (IoT)Internet of Things (IoT)
Internet of Things (IoT)
 
Digital logic
Digital logicDigital logic
Digital logic
 
Operating system
Operating systemOperating system
Operating system
 
Greedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack ProblemGreedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack Problem
 
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
 
Divide and conquer - Quick sort
Divide and conquer - Quick sortDivide and conquer - Quick sort
Divide and conquer - Quick sort
 
GPRS Technology
GPRS TechnologyGPRS Technology
GPRS Technology
 
Algorithm - Introduction
Algorithm - IntroductionAlgorithm - Introduction
Algorithm - Introduction
 
4G technology
4G technology4G technology
4G technology
 
Data structure - Graph
Data structure - GraphData structure - Graph
Data structure - Graph
 

Recently uploaded

Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 

Recently uploaded (20)

Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 

Smoothing Filters in Spatial Domain

  • 1. SMOOTHING FILTERS IN SPATIAL DOMAIN Submitted by, M.Madhu Bala P.Malathi R.Mathu Sini V.Praseetha 1 Submitted to, G. Murugeswari M.E, Assistant Professor, MS University, Triunelveli.
  • 2. Contents What is Spatial filter Mechanism of spatial filter Smoothing filters in spatial Linear filter Non-linear filter conclusion 2
  • 3. Spatial Filter A spatial filter is an image operation where each pixel value I(u, v) is changed by a function of the intensities of pixels in a neighborhood of (u, v). Spatial filtering term is the filtering operations that are performed directly on the pixels of an image. 3
  • 4. Mechanism of Spatial Filtering The process consists simply of moving the filter mask from point to point in an image. At each point (x,y) the response of the filter at that point is calculated using a predefined relationship. 4
  • 5. Smoothing Spatial Filter Smoothing filters are used for  blurring  noise reduction. Blurring is used in preprocessing steps to removal of small details from an image prior to object extraction and bridging of small gaps in lines or curves Noise reduction can be accomplished by blurring 5
  • 6. Types of Smoothing Filter There are 2 way of smoothing spatial filters Linear Filters – operations performed on image pixel Order-Statistics (non-linear) Filters - based on ranking the pixels 6
  • 7. Linear Filter Linear spatial filter is simply the average of the pixels contained in the neighborhood of the filter mask. The idea is replacing the value of every pixel in an image by the average of the gray levels in the neighborhood defined by the filter mask. 7
  • 8. Linear Filter (cont..) This process result in an image reduce the sharp transitions in intensities. Two mask Averaging filter Weighted averaging filter 8
  • 9. Averaging Filter A major use of averaging filters is in the reduction of irrelevant detail in image. mxn mask would have a normalizing constant equal to 1/mn. Its also known as low pass filter. A spatial averaging filter in which all coefficients are equal is called a box filter. 9
  • 10. Averaging Filter - Example 1 1 1 1 1 1 1 1 1  9 1 10
  • 11. Weighted Averaging Filter Pixels are multiplied by different coefficients, thus giving more weight to some pixel at the expanses of others. The center pixel is multiplied by a higher value than any other, thus giving the pixel more importance in the calculation of average. The other pixels are inversely weighted as a function of their distance from center of mask 11
  • 12. Weighted Averaging Filter The general implementation for filtering an MxN image with a weighted averaging filter of size m x n is given by the expression For complete filtered image apply x = 0,1,2,3……..m-1 and y=0,1,2,3,……..n-1 in the above equation.         a as b bt a as b bt tsw tysxftsw yxg ),( ),(),( ),( 12
  • 13. Weighted Average Filter - Example 1 2 1 2 4 2 1 2 1  16 1 13
  • 14. Order-Statistics Filter Order-statistics filters are nonlinear spatial filters. It is based on ordering (ranking) the pixels contained in the image area encompassed by the filter, It replacing the value of the center pixel with the value determined by the ranking result. 14
  • 15. Order- statics filter The filter selects a sample from the window, does not average Edges are better preserved than with liner filters Best suited for “salt and pepper” noise 15
  • 16. Types of order-statics filter Different types of order-statics filters are Minimum filter Maximum filter Median filter 16
  • 17. Minimum Filter The 0th percentile filter is the min filter. Minimum filter selects the smallest value in the window and replace the center by the smallest value Using comparison the minimum value can be obtained fast.(not necessary to sort) It enhances the dark areas of image 17
  • 18. Minimum Filter - Example . ( mask size =3 x 3) ( mask size =7 x 7) 18
  • 19. Maximum Filter The maximum filter selects the largest value within of pixel values, and replace the center by the largest value. Using comparison the maximum value can be obtained fast.(not necessary to sort) Using the 100th percentile results in the so-called max filter it enhances bright areas of image 19
  • 20. Maximum Filter mask (3 x 3) mask (7 x 7) 20
  • 21. Median Filter Three steps to be followed to run a median filter: 1. Consider each pixel in the image 2. Sort the neighboring pixels into order based upon their intensities 3. Replace the original value of the pixel with the median value from the list. 21
  • 22. Median Filter - Process 22
  • 23. Median Filter - Example Median Filter size =7 x 7 23 Median Filter size =3 x 3
  • 24. conclusion A linear filter cannot totally eliminate impulse noise, as a single pixel which acts as an intensity spike can contribute significantly to the weighted average of the filter. Non-linear filters can be robust to this type of noise because single outlier pixel intensities can be eliminated entirely. 24
  • 26. 26

Editor's Notes

  1. Minimum filtering causes the darker regions of an image to swell in size and dominate the darker regions
  2. Max filtering causes the lighter regions of an image to swell in size and dominate the lighter regions