SlideShare une entreprise Scribd logo
1  sur  27
PRESENTED BY,
J.FRIEDA,
R.MANI MEGALAI,
M.MUTHU LAKSHMI,
MPhil(CSE),
MS UNIVERSITY, TIRUNELVELI.
IMAGE ENHANCEMENT
OImage enhancement is to
improve the brightness,
contrast and appearance of an
images.
IMAGE ENHANCEMENT
TECHNIQUES
IMAGE
ENHANCEMENT
SPATIAL
FILTERING
1.SMOOTHING
2.SHARPENING
FREQUENCY
FILTERING
1.SMOOTHING
2.SHARPENING
Introduction To Filters
FILTER:
Filter is a process that removes some unwanted
components or small details in a image.
TYPES OF FILTERS :
O SPATIAL DOMAIN FILTERS
O FREQUENCY DOMAIN FILTERS
SPATIAL FILTER
The spatial filter is just moving the
filter mask from point to point in an image.
The filter mask may be 3x3 mask or 5x5
mask or to be 7x7 mask.
Example
3x3 mask in a 5x5 image
Generating Spatial Filter mask
O Generate mxn linear Spatial filter requires mn mask
coefficients.These are selected based on the type of filter. so
it computes the sum of products
Example ,the average of 3x3 neighborhood on (x,y) is
calculated by using the formula
O If we take Gaussian function of 2 values the basic formula as
follows
O ‘σ’ is standard deviation , x and y are integers.
The Approaches
of
Spatial Filtering
Spatial filter consist of two steps
O A neighborhood (small rectangle)
O A predefined operation performed on
image pixels.
Filtering creates a new pixel value replaced by
old pixel value.
3*3 mask and the image section
Types Of Spatial Filters
There are two types of filter,
1.Linear Spatial Filter
2.Non Linear Spatial Filter
O Each pixel in an image can be replaced with constant
value then it is called as linear spatial filter otherwise
it is called as non-linear.
Spatial Filter Expression
O For m x n size of image,
we assume m=2a+1 & n=2b+1 where a,b are
positive integers. so the linear spatial filter of image
MxN with filter size mxn is by following expression.
Spatial Correlation &
Convolution
O Correlation is moving the filter over the image
find the sum of products in each location.
O Convolution process is same as correlation but
the filter is first rotate by 180 degree.
Vector Representation Of
Linear Filtering
O The vector representation R should be formed for the
linear filter as follows,
R = w1 z1+w2 z2+ -------- Wmn Zmn
O For example,
Here we rotate the mask by 180 ,this shown by 3x3 as
follows,
w1 w2 w3
w4 w5 w6
w7 w8 w9
Smoothing Spatial Filters
OSmoothing filters are used for blurring
and for noise reduction.
OBlurring is used as preprocessing such
as removal of small details from
image.
ONoise reduction is blurring with linear
or non linear filter.
IMAGE
SMOOTHING
TYPES OF SMOOTHING
FREQUENCY FILTER
SMOOTHING
FILTERS
NON-LINEAR
FILTERS
MEDIAN
FILTERS
MINMAX
FILTERS
LINEAR
FILTERS
AVERAGING
FILTERS
Smoothing With Linear Filter
AVERAGING FILTER:
O The output of linear spatial filter computes the average
of pixels is called averaging filter or low pass filter.
O The major usage of average filter is reduction of
irrelevant detail in an image.
1/9 x 1/16 x
1 1 1
1 1 1
1 1 1
1 2 1
2 4 2
1 2 1
Cont,.
O Standard average of pixels calculated as follows
O At the end of filtering the entire image is divided by 9.
O So mxn is equal to 1/mn. Thus the coefficients pixels
are equal, so the filter is called box filter.
Non- Linear Spatial
Filter(order Statistic Filter)
MEDIAN FILTER:
O This filter ordering the pixels by replacing the value of
the center pixel with the value of rank list. The best
know filter in this category is median filter. This is best
for noise reduction.
O This median filter is effective for impulse noise called
as salt & pepper noise.
MAX FILTER:
OThe max filter also used for spatial
filtering.This is used for finding the
brightest points of an image.
OExpression of max filter is
R=max {Zk| k= 1,2,3,…….9}
MIN FILTER:
The min filter also used it is opposite of
max that is find the dull points of an image.
Expression of max filter is
R=min{Zk| k= 1,2,3,…….9}
Sharpening Spatial Filters
O The sharpening spatial is to highlight the transactions
in intensity .
O There are many applications, such as
electronic priming,
medical images,
military systems are used this sharpening
technique.
Foundation
Sharpening filters that are based on two
derivatives.
1.First derivatives.
2.Second derivatives.
First derivative :
O Must be zero for area of constant intensity.
O Must be nonzero of intensity step or map.
O Must be nonzero along ramp.
(σ f/σ x) = f (x +1) – f (x).
Second derivative
O Must be zero in constant areas.
O Must be nonzero at one end and other end of
intensity ramp.
O Must be zero along ramps.
Image Sharpening(the Laplacian)
O This approach uses the second order derivative for
construct the filter mask.
O The laplacian for the image function f(x,y) of two
variable is,
O The X direction,
O For Y direction,
By concluding the above three equations,
Taking the derivative of an image results in
sharpening of an image.
The derivative of an image cam be computing by
using gradient
SPATIAL FILTERING IN IMAGE PROCESSING

Contenu connexe

Tendances

Image degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafImage degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafMD Naseem Ashraf
 
Fundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processingFundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processingKarthicaMarasamy
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filteringGautam Saxena
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram ProcessingAmnaakhaan
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesDiwaker Pant
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Image Restoration
Image RestorationImage Restoration
Image RestorationPoonam Seth
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit NotesAAKANKSHA JAIN
 
Point processing
Point processingPoint processing
Point processingpanupriyaa7
 
Image compression standards
Image compression standardsImage compression standards
Image compression standardskirupasuchi1996
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency DomainAmnaakhaan
 
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
 
Simultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesSimultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesCristina Pérez Benito
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 

Tendances (20)

Image degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafImage degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem Ashraf
 
Fundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processingFundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processing
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram Processing
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Noise Models
Noise ModelsNoise Models
Noise Models
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Point processing
Point processingPoint processing
Point processing
 
Image compression standards
Image compression standardsImage compression standards
Image compression standards
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital 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
 
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.
 
Simultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesSimultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color Images
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 

Similaire à SPATIAL FILTERING IN IMAGE PROCESSING

Spatial Domain Filtering.pdf
Spatial Domain Filtering.pdfSpatial Domain Filtering.pdf
Spatial Domain Filtering.pdfswagatkarve
 
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
 
Image Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVINImage Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVINIOSR Journals
 
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
 
06 spatial filtering DIP
06 spatial filtering DIP06 spatial filtering DIP
06 spatial filtering DIPbabak danyal
 
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
 
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
 
IMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTERIMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTERPushparaj Pal
 
Image_filtering (1).pptx
Image_filtering (1).pptxImage_filtering (1).pptx
Image_filtering (1).pptxwdwd10
 
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
 
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
 

Similaire à SPATIAL FILTERING IN IMAGE PROCESSING (20)

Spatial Domain Filtering.pdf
Spatial Domain Filtering.pdfSpatial Domain Filtering.pdf
Spatial Domain Filtering.pdf
 
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...
 
Image Filtering
Image FilteringImage Filtering
Image Filtering
 
Image Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVINImage Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVIN
 
M017218088
M017218088M017218088
M017218088
 
Spatial operation.ppt
Spatial operation.pptSpatial operation.ppt
Spatial operation.ppt
 
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)
 
06 spatial filtering DIP
06 spatial filtering DIP06 spatial filtering DIP
06 spatial filtering DIP
 
unit-3.ppt
unit-3.pptunit-3.ppt
unit-3.ppt
 
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
 
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...
 
IMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTERIMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTER
 
Image_filtering (1).pptx
Image_filtering (1).pptxImage_filtering (1).pptx
Image_filtering (1).pptx
 
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
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
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 ...
 
M.sc. m hassan
M.sc. m hassanM.sc. m hassan
M.sc. m hassan
 

Dernier

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 

Dernier (20)

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

SPATIAL FILTERING IN IMAGE PROCESSING

  • 1. PRESENTED BY, J.FRIEDA, R.MANI MEGALAI, M.MUTHU LAKSHMI, MPhil(CSE), MS UNIVERSITY, TIRUNELVELI.
  • 2. IMAGE ENHANCEMENT OImage enhancement is to improve the brightness, contrast and appearance of an images.
  • 4. Introduction To Filters FILTER: Filter is a process that removes some unwanted components or small details in a image. TYPES OF FILTERS : O SPATIAL DOMAIN FILTERS O FREQUENCY DOMAIN FILTERS
  • 5. SPATIAL FILTER The spatial filter is just moving the filter mask from point to point in an image. The filter mask may be 3x3 mask or 5x5 mask or to be 7x7 mask. Example 3x3 mask in a 5x5 image
  • 6. Generating Spatial Filter mask O Generate mxn linear Spatial filter requires mn mask coefficients.These are selected based on the type of filter. so it computes the sum of products Example ,the average of 3x3 neighborhood on (x,y) is calculated by using the formula O If we take Gaussian function of 2 values the basic formula as follows O ‘σ’ is standard deviation , x and y are integers.
  • 7. The Approaches of Spatial Filtering Spatial filter consist of two steps O A neighborhood (small rectangle) O A predefined operation performed on image pixels. Filtering creates a new pixel value replaced by old pixel value.
  • 8. 3*3 mask and the image section
  • 9. Types Of Spatial Filters There are two types of filter, 1.Linear Spatial Filter 2.Non Linear Spatial Filter O Each pixel in an image can be replaced with constant value then it is called as linear spatial filter otherwise it is called as non-linear.
  • 10. Spatial Filter Expression O For m x n size of image, we assume m=2a+1 & n=2b+1 where a,b are positive integers. so the linear spatial filter of image MxN with filter size mxn is by following expression.
  • 11. Spatial Correlation & Convolution O Correlation is moving the filter over the image find the sum of products in each location. O Convolution process is same as correlation but the filter is first rotate by 180 degree.
  • 12. Vector Representation Of Linear Filtering O The vector representation R should be formed for the linear filter as follows, R = w1 z1+w2 z2+ -------- Wmn Zmn O For example, Here we rotate the mask by 180 ,this shown by 3x3 as follows, w1 w2 w3 w4 w5 w6 w7 w8 w9
  • 13. Smoothing Spatial Filters OSmoothing filters are used for blurring and for noise reduction. OBlurring is used as preprocessing such as removal of small details from image. ONoise reduction is blurring with linear or non linear filter.
  • 15. TYPES OF SMOOTHING FREQUENCY FILTER SMOOTHING FILTERS NON-LINEAR FILTERS MEDIAN FILTERS MINMAX FILTERS LINEAR FILTERS AVERAGING FILTERS
  • 16. Smoothing With Linear Filter AVERAGING FILTER: O The output of linear spatial filter computes the average of pixels is called averaging filter or low pass filter. O The major usage of average filter is reduction of irrelevant detail in an image. 1/9 x 1/16 x 1 1 1 1 1 1 1 1 1 1 2 1 2 4 2 1 2 1
  • 17. Cont,. O Standard average of pixels calculated as follows O At the end of filtering the entire image is divided by 9. O So mxn is equal to 1/mn. Thus the coefficients pixels are equal, so the filter is called box filter.
  • 18. Non- Linear Spatial Filter(order Statistic Filter) MEDIAN FILTER: O This filter ordering the pixels by replacing the value of the center pixel with the value of rank list. The best know filter in this category is median filter. This is best for noise reduction. O This median filter is effective for impulse noise called as salt & pepper noise.
  • 19. MAX FILTER: OThe max filter also used for spatial filtering.This is used for finding the brightest points of an image. OExpression of max filter is R=max {Zk| k= 1,2,3,…….9}
  • 20. MIN FILTER: The min filter also used it is opposite of max that is find the dull points of an image. Expression of max filter is R=min{Zk| k= 1,2,3,…….9}
  • 21. Sharpening Spatial Filters O The sharpening spatial is to highlight the transactions in intensity . O There are many applications, such as electronic priming, medical images, military systems are used this sharpening technique.
  • 22.
  • 23. Foundation Sharpening filters that are based on two derivatives. 1.First derivatives. 2.Second derivatives. First derivative : O Must be zero for area of constant intensity. O Must be nonzero of intensity step or map. O Must be nonzero along ramp. (σ f/σ x) = f (x +1) – f (x).
  • 24. Second derivative O Must be zero in constant areas. O Must be nonzero at one end and other end of intensity ramp. O Must be zero along ramps.
  • 25. Image Sharpening(the Laplacian) O This approach uses the second order derivative for construct the filter mask. O The laplacian for the image function f(x,y) of two variable is, O The X direction, O For Y direction,
  • 26. By concluding the above three equations, Taking the derivative of an image results in sharpening of an image. The derivative of an image cam be computing by using gradient