SlideShare a Scribd company logo
Prepared by
T. Sathiyabama
M. Sahaya Pretha
K. Shunmuga Priya
R. Rajalakshmi
Department of Computer Science and Engineering,
MS University, Tirunelveli
10/26/2016 8:17 AM 1
Definition
Direct Manipulation of image Pixels.
The objective of Sharpening is to highlight transitions
in intensity
The image blurring is accomplished by pixel averaging
in a neighborhood.
Since averaging is analogous to integration.
10/26/2016 8:17 AM 2
Some Applications
Photo Enhancement
Medical image visualization
Industrial defect detection
Electronic printing
Autonomous guidance in military systems
10/26/2016 8:17 AM 3
Foundation
Sharpening Filters to find details about
Remove blurring from images.
Highlight edges
We are interested in the behavior of these derivatives
in areas of constant gray level(flat segments), at the
onset and end of discontinuities(step and ramp
discontinuities), and along gray-level ramps.
These types of discontinuities can be noise points,
lines, and edges.
10/26/2016 8:17 AM 4
Definition for a first derivative
Must be zero in flat segments
Must be nonzero at the onset of a gray-level step or ramp
Must be nonzero along ramps
A basic definition of the first-order derivative of a one-dimensional
function f(x) is
(Diff b/w subsequent values & measures the rate of change of the
function)
10/26/2016 8:17 AM 5
)()1(
f
xfxf
x



Definition for a second derivative
Must be zero in flat areas
Must be non zero at the onset and end of a gray-level step
or ramp
Must be zero along ramps of constant slope
We define a second-order derivative as the difference
(the values both
before& after the
current value)
10/26/2016 8:17 AM 6
)(2)1()1(2
2
xfxfxf
x
f



First and second-order derivatives in digital form => difference
The 1st-order derivative is nonzero along the entire ramp,
while the 2nd-order derivative is nonzero only at the onset and
end of the ramp.
The response at and around the point is much stronger for the
2nd- than for the 1st-order derivative.
10/26/2016 8:17 AM 7
)()1( xfxf
x
f



)(2)1()1(
)]1()([)]()1([2
2
xfxfxf
xfxfxfxf
x
f




Gray-level profile
10/26/2016 8:17 AM 8
660 1 2 30 0 2 2 2 2 23 3 3 3 30 0 0 0 0 0 0 0 7 7 5 5
7
6
5
4
3
2
1
0
Derivative of image profile
10/26/2016 8:17 AM 9
0 0 0 1 2 3 2 0 0 2 2 6 3 3 2 2 3 3 0 0 0 0 0 0 7 7 6 5 5 3
0 0 1 1 1-1-2 0 2 0 4-3 0-1 0 1 0-3 0 0 0 0 0-7 0-1-1 0-2
0-1 0 0-2-1 2 2-2 4-7 3-1 1 1-1-3 3 0 0 0 0-7 7-1 0 1-2
first
second
2nd derivatives for image
Sharpening
 2-D 2nd derivatives => Laplacian
10/26/2016 8:17 AM 10
2
2
2
2
2
y
f
x
f
f






),(4)]1,()1,(),1(),1([
)],(2)1,()1,([
)],(2),1(),1([2
yxfyxfyxfyxfyxf
yxfyxfyxf
yxfyxfyxff



=>discrete formulation
Implementation






),(),(
),(),(
),( 2
2
yxfyxf
yxfyxf
yxg
),(2
yxf
10/26/2016 8:17 AM 11
If the center coefficient is negative
If the center coefficient is positive
Where f(x,y) is the original image
is Laplacian filtered image
g(x,y) is the sharpen image
Definition of 2nd derivatives in
filter mask
900 rotation
invariant
450 rotation
invariant
(include
Diagonals)
4 -
-
-
- -
- - -
-
---
8
10/26/2016 8:17 AM 12
Implementation
10/26/2016 8:17 AM 13
Implementation
10/26/2016 8:17 AM 14
Filtered = Conv(image,mask)
Implementation
10/26/2016 8:17 AM 15
filtered = filtered - Min(filtered)
filtered = filtered * (255.0/Max(filtered))
Implementation
10/26/2016 8:17 AM 16
sharpened = image + filtered
sharpened = sharpened - Min(sharpened )
sharpened = sharpened * (255.0/Max(sharpened ))
Algorithm
1. Using Laplacian filter to original image
2. And then add the image result from step 1 and the
original image
3. We will apply two step to be one mask
10/26/2016 8:17 AM 17
),(4)1,()1,(),1(),1(),(),( yxfyxfyxfyxfyxfyxfyxg 
)1,()1,(),1(),1(),(5),(  yxfyxfyxfyxfyxfyxg
Result of Algorithm
10/26/2016 8:17 AM 18
-1
-1
5 -1
-1
0 0
0 0
-1
-1
9 -1
-1
-1 -1
-1 -1
Laplacian filtering: example
10/26/2016 8:17 AM 19
Original image Laplacian filtered image
Unsharp masking
 A process to sharpen images consists of
subtracting a blurred version of an image from
the image itself. This process, called unsharp
masking, is expressed as
),(),(),( yxfyxfyxfs 
),( yxfs
10/26/2016 8:17 AM 20
),( yxf),( yxf
Where denotes the sharpened image obtained by unsharp
masking, an is a blurred version of
High-boost filtering
 A high-boost filtered image, fhb is defined at any
point (x,y) as
1),(),(),(  AwhereyxfyxAfyxfhb
),(),(),()1(),( yxfyxfyxfAyxfhb 
10/26/2016 8:17 AM 21
),(),()1(),( yxfyxfAyxf shb 
This equation is applicable general and does not state explicity how
the sharp image is obtained
High-boost filtering and Laplacian
 If we choose to use the Laplacian, then we know
fs(x,y)






),(),(
),(),(
2
2
yxfyxAf
yxfyxAf
fhb
10/26/2016 8:17 AM 22
If the center coefficient is negative
If the center coefficient is positive
-1
-1
A+4 -1
-1
0 0
0 0
-1
-1
A+8 -1
-1
-1 -1
-1 -1
The Gradient (1st order derivative)
 First Derivatives in image processing are
implemented using the magnitude of the
gradient.
The gradient of function f(x,y) is























y
f
x
f
G
G
f
y
x
10/26/2016 8:17 AM 23
 The magnitude of this vector is given by
yxyx GGGGfmag  22
)(
-1 1
1
-1
Gx
Gy
This mask is simple, and no isotropic. Its result
only horizontal and vertical.
10/26/2016 8:17 AM 24
Robert’s Method
 The simplest approximations to a first-order
derivative that satisfy the conditions stated in
that section are
2
68
2
59 )()( zzzzf 
6859 zzzzf 
z1 z2 z3
z4 z5 z6
z7 z8 z9
Gx = (z9-z5) and Gy = (z8-z6)
10/26/2016 8:17 AM 25
 These mask are referred to as the Roberts cross-
gradient operators.
-1 0
0 1
-10
01
10/26/2016 8:17 AM 26
Sobel’s Method
 Using this equation
)2()2()2()2( 741963321987 zzzzzzzzzzzzf 
-1 -2 -1
0 0 0
1 2 1 1
-2
10
0
0-1
2
-1
10/26/2016 8:17 AM 27
Gradient: example
defectsoriginal(contact lens) Sobel gradient
 Enhance defects and eliminate slowly changing background
10/26/2016 8:17 AM 28
10/26/2016 8:17 AM 29
Thank You to all my viewers

More Related Content

What's hot

Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
Revanth Chimmani
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
Gautam Saxena
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
VARUN KUMAR
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
Mostafa G. M. Mostafa
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformationsJohn Williams
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
Suhaila Afzana
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
lalithambiga kamaraj
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
Tawose Olamide Timothy
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
Pallavi Agarwal
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain Filters
Karthika Ramachandran
 
Noise Models
Noise ModelsNoise Models
Noise Models
Sardar Alam
 
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & Descriptors
PundrikPatel
 
Point processing
Point processingPoint processing
Point processing
panupriyaa7
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
Md Shabir Alam
 
Interpixel redundancy
Interpixel redundancyInterpixel redundancy
Interpixel redundancy
Naveen Kumar
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
asodariyabhavesh
 
Psuedo color
Psuedo colorPsuedo color
Psuedo color
Mariashoukat1206
 
Image compression .
Image compression .Image compression .
Image compression .
Payal Vishwakarma
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
Gayathri31093
 
Edge Detection using Hough Transform
Edge Detection using Hough TransformEdge Detection using Hough Transform
Edge Detection using Hough Transform
Mrunal Selokar
 

What's hot (20)

Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformations
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain Filters
 
Noise Models
Noise ModelsNoise Models
Noise Models
 
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & Descriptors
 
Point processing
Point processingPoint processing
Point processing
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Interpixel redundancy
Interpixel redundancyInterpixel redundancy
Interpixel redundancy
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Psuedo color
Psuedo colorPsuedo color
Psuedo color
 
Image compression .
Image compression .Image compression .
Image compression .
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
Edge Detection using Hough Transform
Edge Detection using Hough TransformEdge Detection using Hough Transform
Edge Detection using Hough Transform
 

Similar to Sharpening spatial filters

Image denoising
Image denoisingImage denoising
Image denoising
Abdur Rehman
 
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
CSCJournals
 
An Adaptive Two-level Filtering Technique for Noise Lines in Video Images
An Adaptive Two-level Filtering Technique for Noise Lines in Video ImagesAn Adaptive Two-level Filtering Technique for Noise Lines in Video Images
An Adaptive Two-level Filtering Technique for Noise Lines in Video Images
CSCJournals
 
Review of Linear Image Degradation and Image Restoration Technique
Review of Linear Image Degradation and Image Restoration TechniqueReview of Linear Image Degradation and Image Restoration Technique
Review of Linear Image Degradation and Image Restoration Technique
BRNSSPublicationHubI
 
griffm3_ECSE4540_Final_Project_Report
griffm3_ECSE4540_Final_Project_Reportgriffm3_ECSE4540_Final_Project_Report
griffm3_ECSE4540_Final_Project_ReportMatt Griffin
 
Advanced Multimedia
Advanced MultimediaAdvanced Multimedia
Advanced Multimedia
kadalrocker
 
Digital image processing 1
Digital  image processing 1Digital  image processing 1
Digital image processing 1
Dhaval Jalalpara
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
BHAGYAPRASADBUGGE
 
Estimation, Detection & Comparison of Soil Nutrients using Matlab
Estimation, Detection & Comparison of Soil Nutrients using MatlabEstimation, Detection & Comparison of Soil Nutrients using Matlab
Estimation, Detection & Comparison of Soil Nutrients using Matlab
IRJET Journal
 
Linear Smoothing, Median, and Sharpening Filter
Linear Smoothing, Median, and Sharpening FilterLinear Smoothing, Median, and Sharpening Filter
Linear Smoothing, Median, and Sharpening Filter
VARUN KUMAR
 
edge Linking dip.pptx
  edge Linking dip.pptx  edge Linking dip.pptx
edge Linking dip.pptx
MruthyunjayaS
 
CSE367 Lecture- image sinal processing lecture
CSE367 Lecture- image sinal processing lectureCSE367 Lecture- image sinal processing lecture
CSE367 Lecture- image sinal processing lecture
FatmaNewagy1
 
Video Segmentation
Video SegmentationVideo Segmentation
Video Segmentation
Smriti Jain
 
IMAGE DENOISING BY MEDIAN FILTER IN WAVELET DOMAIN
IMAGE DENOISING BY MEDIAN FILTER IN WAVELET DOMAINIMAGE DENOISING BY MEDIAN FILTER IN WAVELET DOMAIN
IMAGE DENOISING BY MEDIAN FILTER IN WAVELET DOMAIN
ijma
 
13 fourierfiltrationen
13 fourierfiltrationen13 fourierfiltrationen
13 fourierfiltrationen
hoailinhtinh
 
Notes on image processing
Notes on image processingNotes on image processing
Notes on image processing
Mohammed Kamel
 
LAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSING
LAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSINGLAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSING
LAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSING
Priyanka Rathore
 
Optimized linear spatial filters implemented in FPGA
Optimized linear spatial filters implemented in FPGAOptimized linear spatial filters implemented in FPGA
Optimized linear spatial filters implemented in FPGA
IOSRJVSP
 
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
Visual Quality for both Images and Display of Systems by Visual Enhancement u...Visual Quality for both Images and Display of Systems by Visual Enhancement u...
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
IJMER
 

Similar to Sharpening spatial filters (20)

Image denoising
Image denoisingImage denoising
Image denoising
 
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
 
An Adaptive Two-level Filtering Technique for Noise Lines in Video Images
An Adaptive Two-level Filtering Technique for Noise Lines in Video ImagesAn Adaptive Two-level Filtering Technique for Noise Lines in Video Images
An Adaptive Two-level Filtering Technique for Noise Lines in Video Images
 
Review of Linear Image Degradation and Image Restoration Technique
Review of Linear Image Degradation and Image Restoration TechniqueReview of Linear Image Degradation and Image Restoration Technique
Review of Linear Image Degradation and Image Restoration Technique
 
griffm3_ECSE4540_Final_Project_Report
griffm3_ECSE4540_Final_Project_Reportgriffm3_ECSE4540_Final_Project_Report
griffm3_ECSE4540_Final_Project_Report
 
Advanced Multimedia
Advanced MultimediaAdvanced Multimedia
Advanced Multimedia
 
Digital image processing 1
Digital  image processing 1Digital  image processing 1
Digital image processing 1
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
 
Estimation, Detection & Comparison of Soil Nutrients using Matlab
Estimation, Detection & Comparison of Soil Nutrients using MatlabEstimation, Detection & Comparison of Soil Nutrients using Matlab
Estimation, Detection & Comparison of Soil Nutrients using Matlab
 
Linear Smoothing, Median, and Sharpening Filter
Linear Smoothing, Median, and Sharpening FilterLinear Smoothing, Median, and Sharpening Filter
Linear Smoothing, Median, and Sharpening Filter
 
edge Linking dip.pptx
  edge Linking dip.pptx  edge Linking dip.pptx
edge Linking dip.pptx
 
CSE367 Lecture- image sinal processing lecture
CSE367 Lecture- image sinal processing lectureCSE367 Lecture- image sinal processing lecture
CSE367 Lecture- image sinal processing lecture
 
Video Segmentation
Video SegmentationVideo Segmentation
Video Segmentation
 
IMAGE DENOISING BY MEDIAN FILTER IN WAVELET DOMAIN
IMAGE DENOISING BY MEDIAN FILTER IN WAVELET DOMAINIMAGE DENOISING BY MEDIAN FILTER IN WAVELET DOMAIN
IMAGE DENOISING BY MEDIAN FILTER IN WAVELET DOMAIN
 
13 fourierfiltrationen
13 fourierfiltrationen13 fourierfiltrationen
13 fourierfiltrationen
 
Histogram processing
Histogram processingHistogram processing
Histogram processing
 
Notes on image processing
Notes on image processingNotes on image processing
Notes on image processing
 
LAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSING
LAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSINGLAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSING
LAPLACE TRANSFORM SUITABILITY FOR IMAGE PROCESSING
 
Optimized linear spatial filters implemented in FPGA
Optimized linear spatial filters implemented in FPGAOptimized linear spatial filters implemented in FPGA
Optimized linear spatial filters implemented in FPGA
 
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
Visual Quality for both Images and Display of Systems by Visual Enhancement u...Visual Quality for both Images and Display of Systems by Visual Enhancement u...
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
 

Recently uploaded

Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 

Recently uploaded (20)

Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 

Sharpening spatial filters

  • 1. Prepared by T. Sathiyabama M. Sahaya Pretha K. Shunmuga Priya R. Rajalakshmi Department of Computer Science and Engineering, MS University, Tirunelveli 10/26/2016 8:17 AM 1
  • 2. Definition Direct Manipulation of image Pixels. The objective of Sharpening is to highlight transitions in intensity The image blurring is accomplished by pixel averaging in a neighborhood. Since averaging is analogous to integration. 10/26/2016 8:17 AM 2
  • 3. Some Applications Photo Enhancement Medical image visualization Industrial defect detection Electronic printing Autonomous guidance in military systems 10/26/2016 8:17 AM 3
  • 4. Foundation Sharpening Filters to find details about Remove blurring from images. Highlight edges We are interested in the behavior of these derivatives in areas of constant gray level(flat segments), at the onset and end of discontinuities(step and ramp discontinuities), and along gray-level ramps. These types of discontinuities can be noise points, lines, and edges. 10/26/2016 8:17 AM 4
  • 5. Definition for a first derivative Must be zero in flat segments Must be nonzero at the onset of a gray-level step or ramp Must be nonzero along ramps A basic definition of the first-order derivative of a one-dimensional function f(x) is (Diff b/w subsequent values & measures the rate of change of the function) 10/26/2016 8:17 AM 5 )()1( f xfxf x   
  • 6. Definition for a second derivative Must be zero in flat areas Must be non zero at the onset and end of a gray-level step or ramp Must be zero along ramps of constant slope We define a second-order derivative as the difference (the values both before& after the current value) 10/26/2016 8:17 AM 6 )(2)1()1(2 2 xfxfxf x f   
  • 7. First and second-order derivatives in digital form => difference The 1st-order derivative is nonzero along the entire ramp, while the 2nd-order derivative is nonzero only at the onset and end of the ramp. The response at and around the point is much stronger for the 2nd- than for the 1st-order derivative. 10/26/2016 8:17 AM 7 )()1( xfxf x f    )(2)1()1( )]1()([)]()1([2 2 xfxfxf xfxfxfxf x f    
  • 8. Gray-level profile 10/26/2016 8:17 AM 8 660 1 2 30 0 2 2 2 2 23 3 3 3 30 0 0 0 0 0 0 0 7 7 5 5 7 6 5 4 3 2 1 0
  • 9. Derivative of image profile 10/26/2016 8:17 AM 9 0 0 0 1 2 3 2 0 0 2 2 6 3 3 2 2 3 3 0 0 0 0 0 0 7 7 6 5 5 3 0 0 1 1 1-1-2 0 2 0 4-3 0-1 0 1 0-3 0 0 0 0 0-7 0-1-1 0-2 0-1 0 0-2-1 2 2-2 4-7 3-1 1 1-1-3 3 0 0 0 0-7 7-1 0 1-2 first second
  • 10. 2nd derivatives for image Sharpening  2-D 2nd derivatives => Laplacian 10/26/2016 8:17 AM 10 2 2 2 2 2 y f x f f       ),(4)]1,()1,(),1(),1([ )],(2)1,()1,([ )],(2),1(),1([2 yxfyxfyxfyxfyxf yxfyxfyxf yxfyxfyxff    =>discrete formulation
  • 11. Implementation       ),(),( ),(),( ),( 2 2 yxfyxf yxfyxf yxg ),(2 yxf 10/26/2016 8:17 AM 11 If the center coefficient is negative If the center coefficient is positive Where f(x,y) is the original image is Laplacian filtered image g(x,y) is the sharpen image
  • 12. Definition of 2nd derivatives in filter mask 900 rotation invariant 450 rotation invariant (include Diagonals) 4 - - - - - - - - - --- 8 10/26/2016 8:17 AM 12
  • 14. Implementation 10/26/2016 8:17 AM 14 Filtered = Conv(image,mask)
  • 15. Implementation 10/26/2016 8:17 AM 15 filtered = filtered - Min(filtered) filtered = filtered * (255.0/Max(filtered))
  • 16. Implementation 10/26/2016 8:17 AM 16 sharpened = image + filtered sharpened = sharpened - Min(sharpened ) sharpened = sharpened * (255.0/Max(sharpened ))
  • 17. Algorithm 1. Using Laplacian filter to original image 2. And then add the image result from step 1 and the original image 3. We will apply two step to be one mask 10/26/2016 8:17 AM 17 ),(4)1,()1,(),1(),1(),(),( yxfyxfyxfyxfyxfyxfyxg  )1,()1,(),1(),1(),(5),(  yxfyxfyxfyxfyxfyxg
  • 18. Result of Algorithm 10/26/2016 8:17 AM 18 -1 -1 5 -1 -1 0 0 0 0 -1 -1 9 -1 -1 -1 -1 -1 -1
  • 19. Laplacian filtering: example 10/26/2016 8:17 AM 19 Original image Laplacian filtered image
  • 20. Unsharp masking  A process to sharpen images consists of subtracting a blurred version of an image from the image itself. This process, called unsharp masking, is expressed as ),(),(),( yxfyxfyxfs  ),( yxfs 10/26/2016 8:17 AM 20 ),( yxf),( yxf Where denotes the sharpened image obtained by unsharp masking, an is a blurred version of
  • 21. High-boost filtering  A high-boost filtered image, fhb is defined at any point (x,y) as 1),(),(),(  AwhereyxfyxAfyxfhb ),(),(),()1(),( yxfyxfyxfAyxfhb  10/26/2016 8:17 AM 21 ),(),()1(),( yxfyxfAyxf shb  This equation is applicable general and does not state explicity how the sharp image is obtained
  • 22. High-boost filtering and Laplacian  If we choose to use the Laplacian, then we know fs(x,y)       ),(),( ),(),( 2 2 yxfyxAf yxfyxAf fhb 10/26/2016 8:17 AM 22 If the center coefficient is negative If the center coefficient is positive -1 -1 A+4 -1 -1 0 0 0 0 -1 -1 A+8 -1 -1 -1 -1 -1 -1
  • 23. The Gradient (1st order derivative)  First Derivatives in image processing are implemented using the magnitude of the gradient. The gradient of function f(x,y) is                        y f x f G G f y x 10/26/2016 8:17 AM 23
  • 24.  The magnitude of this vector is given by yxyx GGGGfmag  22 )( -1 1 1 -1 Gx Gy This mask is simple, and no isotropic. Its result only horizontal and vertical. 10/26/2016 8:17 AM 24
  • 25. Robert’s Method  The simplest approximations to a first-order derivative that satisfy the conditions stated in that section are 2 68 2 59 )()( zzzzf  6859 zzzzf  z1 z2 z3 z4 z5 z6 z7 z8 z9 Gx = (z9-z5) and Gy = (z8-z6) 10/26/2016 8:17 AM 25
  • 26.  These mask are referred to as the Roberts cross- gradient operators. -1 0 0 1 -10 01 10/26/2016 8:17 AM 26
  • 27. Sobel’s Method  Using this equation )2()2()2()2( 741963321987 zzzzzzzzzzzzf  -1 -2 -1 0 0 0 1 2 1 1 -2 10 0 0-1 2 -1 10/26/2016 8:17 AM 27
  • 28. Gradient: example defectsoriginal(contact lens) Sobel gradient  Enhance defects and eliminate slowly changing background 10/26/2016 8:17 AM 28
  • 29. 10/26/2016 8:17 AM 29 Thank You to all my viewers