SlideShare a Scribd company logo
1 of 22
LEAST MEAN SQUARE
AND
GEOMETRIC TRANFORMATION
PRESENTED BY,
K.LALITHAMBIGA,
II- M.Sc (CS & IT),
Nadar Saraswathi College of
Arts and Science, Theni.
SYNOPSIS
 Minimum Mean Square Error Filtering
or
 Least Square Error Filtering
 Constrained Least Square Filtering
 Geometric Transformation
 Spatial Transformation
 Geometric Distortion
 Gray Level Interpolation
 Nearest Neighbor Gray Level Interpolation
 Bilinear Interpolation
MINIMUM MEAN SQUARE ERROR (WIENER)
FILTERING
 In most images, adjacent pixels are highly correlated, while the
gray level of widely separated pixels are only loosely correlated.
 Therefore, the autocorrelation function of typical images
generally decreases away from the origin.
 Power spectrum of an image is the Fourier transform of its
autocorrelation function, therefore we can argue that the power
spectrum of an image generally decreases with frequency.
 Typical noise sources have either a flat power spectrum or one
that decreases with frequency more slowly than typical image
power spectrum.
 Therefore, the expected situation is for the signal to dominate the
spectrum at low frequencies, while the noise dominates the high
frequencies.
MINIMUM MEAN SQUARE ERROR (WIENER)
FILTERING
 The estimate ƒ of the uncorrupted image ƒ such that the
mean square error between them is minimized .
 The minimum of the error function is given in the
frequency domain by the expression
e²=E{(ƒ-ƒ )²}ˆ
),(
),(/),(),(
),(
),(
1
),(
),(/),(),(
),(*
),(
),(),(),(
),(),(*
),(ˆ
2
2
2
2
vuG
vuSvuSvuH
vuH
vuH
vuG
vuSvuSvuH
vuH
vuG
vuSvuHvuS
vuSvuH
vuF
f
f
f
f








ˆ
MINIMUM MEAN SQUARE ERROR
(WIENER) FILTERING
 Degradation model
 Wiener filter
),(),(),(),(
),(),(),(),(
vuNvuHvuFvuG
yxyxhyxfyxg

 
),(
),(
),(
),(
1
),(
),(/),(),(
),(
),(
1
),(ˆ
2
2
2
2
vuG
KvuH
vuH
vuH
vuG
vuPvuPvuH
vuH
vuH
vuF
fn





MINIMUM MEAN SQUARE ERROR
(WIENER) FILTERING
MINIMUM MEAN SQUARE ERROR (WIENER)
FILTERING
WIENER FILTERING - PROBLEMS
 The power spectra of the under graded image and noise
must be known.
 Weights all errors equally regardless of their location in the
image, while the eye is considerably more tolerant of errors
in the dark areas and high-gradient areas in the image.
 In minimizing the mean square error, Wiener filter also
smooth the image more than the eye would prefer
CONSTRAINED LEAST SQUARES
FILTERING
Only the mean and variance of the noise is required
g-vector by using the image elements in first row of g(x,y)
-dimensions
H –The matrix H then has dimensions MNX MN
The degradation model in vector-matrix form
The objective function
Subject to the constraint
111   MNMNMNMNMN ηfHg
21
0
1
0
2
)],([





M
x
N
y
yxfC
ηHfg 
ηf,
22
ηHfg 
CONSTRAINED LEAST SQUARES
FILTERING
The frequency domain solution to this optimization
problem
The Fourier transform of the function
),(
),(),(
),(*
),(ˆ
2
vuG
vuPvuH
vuH
vuF
















010
141
010
),( yxp
CONSTRAINED LEAST SQUARES
FILTERING - EXAMPLE
Low noise: Wiener and CLS generate
equal results.
High noise: CLS outperforms Wiener if λ
is properly selected.
It is easier to select the scalar value for λ
than to approximate the SNR which is
seldom constant
GEOMETRIC MEAN FILTER
 The geometric mean filter is a member of a set of
nonlinear filters that are used to remove Gaussian noise.
 It operates by replacing each pixel by the geometric mean of
the values in its neighborhood.
),(
),(
),(
),(ˆ
2
),(
),(*
1
2),(
),(*
vuG
vuS
vuS
vuF
f
vuH
vuH
vuH
vuH

































GEOMETRIC MEAN FILTER
 and being positive, real constants.
The geometric mean filter consists of the 2 expressions in
brackets raised to the powers  and 1- 
=1-this filter reduces to the inverse filter.
=0-this filter raised to the same power.
Its is also called parametric wiener filter.
 =½ and  =1 this filter also called as spectrum
equalization filter.
GEOMETRIC TRANSFORMATIONS
 The geometric transformations modify the spatial
relationships between pixels in an image.
 The geometric transformations often are called rubber-
sheet transformations
 Geometric transformation consists of 2 basic operations:
1. A Spatial Transformations –rearrangement of pixels on
the image plane.
2. Gray-level interpolation –assignment of gray levels to
pixels in the spatially transformed image.
SPATIAL TRANSFORMATION
 Assume the original image f(x,y) is subject to geometric
distortion yielding g(x’,y’)
 Spatial transformation &
 Coordination transformation
 The most frequently to overcome this difficulty is to formulate
the spatial relocation of pixels by the use of tiepoints,
 Subset of pixels whose location
 Input – Distorted
 Output – Corrected
• Function need 8 or more points
to find {ci; 1  i  8}
x´=r(x,y) y´=s(x,y)
8765
4321
),('
),('
cxycycxcyxsy
cxycycxcyxrx


GRAY LEVEL INTERPOLATION
 Spatial transformations establish a correspondence between
a point (x’, y’) in the distorted image g(x’,y’) and original
image f(x,y).
 To correct the geometric transformation, one needs to
estimate gray values of f(x,y),
 If x’ and y’ are integers, then
 If x’ and y’ are fraction numbers, but fall within the b order
of the original image, then interpolation will be needed to
find
 The gray-level interpolation is based on a nearest neighbor
approach. The method is called zero order interpolation.
),(ˆ yxf
)','(),(ˆ yxgyxf 
),(ˆ yxf
NEAREST NEIGHBOR GRAY LEVEL
INTERPOLATION
   )','(),(ˆ yxgyxf 
BILINEAR INTERPOLATION
 Estimate the value of =g(x’,y’)) using
four nearest neighbors when x’ and y’ are
fractional numbers.
 Substitute g(x1,y1), g(x1,y2), g(x2,y1), g(x2,y2)
into above equation and solve for a, b, c, d.
It’s 4 equations and 4 unknowns.
(x1,y2)
(x1,y1)
(x2,y2)
(x2,y1)
   
   
dycxbyaxyxg
yyyyy
xxxxx



'''')','(and
'''
'''
21
21
(x’,y’)
),(ˆ yxf
a. An image with 25 regularly spaced
tiepoints.
b. Geometric distortion by
rearranging the tiepoints
c. Distorted image, nearest neighbor
interpolation
d. Restored image, NN
e. Distorted image, bilinear
transformation
f. Restored image, BT
EXAMPLES
EXAMPLES
a. Original image
b. Distorted image using bilinear
transform
c. Difference between a and b
d. Geometrically restored image
using bilinear transform for
gray level interpolation
Digital Image Processing

More Related Content

What's hot

Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
Diwaker Pant
 

What's hot (20)

Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
1.arithmetic & logical operations
1.arithmetic & logical operations1.arithmetic & logical operations
1.arithmetic & logical operations
 
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
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Sharpening spatial filters
Sharpening spatial filtersSharpening spatial filters
Sharpening spatial filters
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
image enhancement
 image enhancement image enhancement
image enhancement
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
Chapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsChapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woods
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Fields of digital image processing slides
Fields of digital image processing slidesFields of digital image processing slides
Fields of digital image processing slides
 
Point processing
Point processingPoint processing
Point processing
 

Similar to Digital Image Processing

ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
Shajun Nisha
 
Image pre processing
Image pre processingImage pre processing
Image pre processing
Ashish Kumar
 

Similar to Digital Image Processing (20)

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
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
 
Chap6 image restoration
Chap6 image restorationChap6 image restoration
Chap6 image restoration
 
Image Processing
Image ProcessingImage Processing
Image Processing
 
3rd unit.pptx
3rd unit.pptx3rd unit.pptx
3rd unit.pptx
 
Digital Image Processing Fundamental
Digital Image Processing FundamentalDigital Image Processing Fundamental
Digital Image Processing Fundamental
 
Image Degradation & Resoration
Image Degradation & ResorationImage Degradation & Resoration
Image Degradation & Resoration
 
chapter 4 computervision.pdf IT IS ABOUT COMUTER VISION
chapter 4 computervision.pdf IT IS ABOUT COMUTER VISIONchapter 4 computervision.pdf IT IS ABOUT COMUTER VISION
chapter 4 computervision.pdf IT IS ABOUT COMUTER VISION
 
Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
Image Restitution Using Non-Locally Centralized Sparse Representation Model
Image Restitution Using Non-Locally Centralized Sparse Representation ModelImage Restitution Using Non-Locally Centralized Sparse Representation Model
Image Restitution Using Non-Locally Centralized Sparse Representation Model
 
Image restoration1
Image restoration1Image restoration1
Image restoration1
 
Design Approach of Colour Image Denoising Using Adaptive Wavelet
Design Approach of Colour Image Denoising Using Adaptive WaveletDesign Approach of Colour Image Denoising Using Adaptive Wavelet
Design Approach of Colour Image Denoising Using Adaptive Wavelet
 
Image pre processing
Image pre processingImage pre processing
Image pre processing
 
Module 31
Module 31Module 31
Module 31
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Dip3
Dip3Dip3
Dip3
 

More from lalithambiga kamaraj

More from lalithambiga kamaraj (20)

Firewall in Network Security
Firewall in Network SecurityFirewall in Network Security
Firewall in Network Security
 
Data Compression in Multimedia
Data Compression in MultimediaData Compression in Multimedia
Data Compression in Multimedia
 
Data CompressionMultimedia
Data CompressionMultimediaData CompressionMultimedia
Data CompressionMultimedia
 
Digital Audio in Multimedia
Digital Audio in MultimediaDigital Audio in Multimedia
Digital Audio in Multimedia
 
Network Security: Physical security
Network Security: Physical security Network Security: Physical security
Network Security: Physical security
 
Graphs in Data Structure
Graphs in Data StructureGraphs in Data Structure
Graphs in Data Structure
 
Package in Java
Package in JavaPackage in Java
Package in Java
 
Exception Handling in Java
Exception Handling in JavaException Handling in Java
Exception Handling in Java
 
Data structure
Data structureData structure
Data structure
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costs
 
Datamining
DataminingDatamining
Datamining
 
Digital Components
Digital ComponentsDigital Components
Digital Components
 
Deadlocks in operating system
Deadlocks in operating systemDeadlocks in operating system
Deadlocks in operating system
 
Io management disk scheduling algorithm
Io management disk scheduling algorithmIo management disk scheduling algorithm
Io management disk scheduling algorithm
 
Recovery system
Recovery systemRecovery system
Recovery system
 
File management
File managementFile management
File management
 
Preprocessor
PreprocessorPreprocessor
Preprocessor
 
Inheritance
InheritanceInheritance
Inheritance
 
Managing console of I/o operations & working with files
Managing console of I/o operations & working with filesManaging console of I/o operations & working with files
Managing console of I/o operations & working with files
 

Recently uploaded

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
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
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.
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
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
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 

Digital Image Processing

  • 1. LEAST MEAN SQUARE AND GEOMETRIC TRANFORMATION PRESENTED BY, K.LALITHAMBIGA, II- M.Sc (CS & IT), Nadar Saraswathi College of Arts and Science, Theni.
  • 2. SYNOPSIS  Minimum Mean Square Error Filtering or  Least Square Error Filtering  Constrained Least Square Filtering  Geometric Transformation  Spatial Transformation  Geometric Distortion  Gray Level Interpolation  Nearest Neighbor Gray Level Interpolation  Bilinear Interpolation
  • 3. MINIMUM MEAN SQUARE ERROR (WIENER) FILTERING  In most images, adjacent pixels are highly correlated, while the gray level of widely separated pixels are only loosely correlated.  Therefore, the autocorrelation function of typical images generally decreases away from the origin.  Power spectrum of an image is the Fourier transform of its autocorrelation function, therefore we can argue that the power spectrum of an image generally decreases with frequency.  Typical noise sources have either a flat power spectrum or one that decreases with frequency more slowly than typical image power spectrum.  Therefore, the expected situation is for the signal to dominate the spectrum at low frequencies, while the noise dominates the high frequencies.
  • 4. MINIMUM MEAN SQUARE ERROR (WIENER) FILTERING  The estimate ƒ of the uncorrupted image ƒ such that the mean square error between them is minimized .  The minimum of the error function is given in the frequency domain by the expression e²=E{(ƒ-ƒ )²}ˆ ),( ),(/),(),( ),( ),( 1 ),( ),(/),(),( ),(* ),( ),(),(),( ),(),(* ),(ˆ 2 2 2 2 vuG vuSvuSvuH vuH vuH vuG vuSvuSvuH vuH vuG vuSvuHvuS vuSvuH vuF f f f f         ˆ
  • 5. MINIMUM MEAN SQUARE ERROR (WIENER) FILTERING  Degradation model  Wiener filter ),(),(),(),( ),(),(),(),( vuNvuHvuFvuG yxyxhyxfyxg    ),( ),( ),( ),( 1 ),( ),(/),(),( ),( ),( 1 ),(ˆ 2 2 2 2 vuG KvuH vuH vuH vuG vuPvuPvuH vuH vuH vuF fn     
  • 6. MINIMUM MEAN SQUARE ERROR (WIENER) FILTERING
  • 7. MINIMUM MEAN SQUARE ERROR (WIENER) FILTERING
  • 8. WIENER FILTERING - PROBLEMS  The power spectra of the under graded image and noise must be known.  Weights all errors equally regardless of their location in the image, while the eye is considerably more tolerant of errors in the dark areas and high-gradient areas in the image.  In minimizing the mean square error, Wiener filter also smooth the image more than the eye would prefer
  • 9. CONSTRAINED LEAST SQUARES FILTERING Only the mean and variance of the noise is required g-vector by using the image elements in first row of g(x,y) -dimensions H –The matrix H then has dimensions MNX MN The degradation model in vector-matrix form The objective function Subject to the constraint 111   MNMNMNMNMN ηfHg 21 0 1 0 2 )],([      M x N y yxfC ηHfg  ηf, 22 ηHfg 
  • 10. CONSTRAINED LEAST SQUARES FILTERING The frequency domain solution to this optimization problem The Fourier transform of the function ),( ),(),( ),(* ),(ˆ 2 vuG vuPvuH vuH vuF                 010 141 010 ),( yxp
  • 12. Low noise: Wiener and CLS generate equal results. High noise: CLS outperforms Wiener if λ is properly selected. It is easier to select the scalar value for λ than to approximate the SNR which is seldom constant
  • 13. GEOMETRIC MEAN FILTER  The geometric mean filter is a member of a set of nonlinear filters that are used to remove Gaussian noise.  It operates by replacing each pixel by the geometric mean of the values in its neighborhood. ),( ),( ),( ),(ˆ 2 ),( ),(* 1 2),( ),(* vuG vuS vuS vuF f vuH vuH vuH vuH                                 
  • 14. GEOMETRIC MEAN FILTER  and being positive, real constants. The geometric mean filter consists of the 2 expressions in brackets raised to the powers  and 1-  =1-this filter reduces to the inverse filter. =0-this filter raised to the same power. Its is also called parametric wiener filter.  =½ and  =1 this filter also called as spectrum equalization filter.
  • 15. GEOMETRIC TRANSFORMATIONS  The geometric transformations modify the spatial relationships between pixels in an image.  The geometric transformations often are called rubber- sheet transformations  Geometric transformation consists of 2 basic operations: 1. A Spatial Transformations –rearrangement of pixels on the image plane. 2. Gray-level interpolation –assignment of gray levels to pixels in the spatially transformed image.
  • 16. SPATIAL TRANSFORMATION  Assume the original image f(x,y) is subject to geometric distortion yielding g(x’,y’)  Spatial transformation &  Coordination transformation  The most frequently to overcome this difficulty is to formulate the spatial relocation of pixels by the use of tiepoints,  Subset of pixels whose location  Input – Distorted  Output – Corrected • Function need 8 or more points to find {ci; 1  i  8} x´=r(x,y) y´=s(x,y) 8765 4321 ),(' ),(' cxycycxcyxsy cxycycxcyxrx  
  • 17. GRAY LEVEL INTERPOLATION  Spatial transformations establish a correspondence between a point (x’, y’) in the distorted image g(x’,y’) and original image f(x,y).  To correct the geometric transformation, one needs to estimate gray values of f(x,y),  If x’ and y’ are integers, then  If x’ and y’ are fraction numbers, but fall within the b order of the original image, then interpolation will be needed to find  The gray-level interpolation is based on a nearest neighbor approach. The method is called zero order interpolation. ),(ˆ yxf )','(),(ˆ yxgyxf  ),(ˆ yxf
  • 18. NEAREST NEIGHBOR GRAY LEVEL INTERPOLATION    )','(),(ˆ yxgyxf 
  • 19. BILINEAR INTERPOLATION  Estimate the value of =g(x’,y’)) using four nearest neighbors when x’ and y’ are fractional numbers.  Substitute g(x1,y1), g(x1,y2), g(x2,y1), g(x2,y2) into above equation and solve for a, b, c, d. It’s 4 equations and 4 unknowns. (x1,y2) (x1,y1) (x2,y2) (x2,y1)         dycxbyaxyxg yyyyy xxxxx    '''')','(and ''' ''' 21 21 (x’,y’) ),(ˆ yxf
  • 20. a. An image with 25 regularly spaced tiepoints. b. Geometric distortion by rearranging the tiepoints c. Distorted image, nearest neighbor interpolation d. Restored image, NN e. Distorted image, bilinear transformation f. Restored image, BT EXAMPLES
  • 21. EXAMPLES a. Original image b. Distorted image using bilinear transform c. Difference between a and b d. Geometrically restored image using bilinear transform for gray level interpolation