SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Image Pre-Processing:
    Image Restoration
            Ashish Khare
 Imagerestoration - suppressing image
 degradation using knowledge about its nature
Image restoration as inverse
    convolution of the whole image
   Most image restoration methods are based on
    convolution applied globally to the whole image.

   Degradation causes:
       defects of optical lenses,
       nonlinearity of the electro-optical sensor,
       graininess of the film material,
       relative motion between an object and camera
       wrong focus,
       atmospheric turbulence in remote sensing or astronomy,
       etc.
 Theobjective of image restoration is to
 reconstruct the original image from its
 degraded version.

 Image   restoration techniques - two groups:
   Deterministic methods - applicable to images with
    little noise and a known degradation function.
       The original image is obtained from the degraded one by a
        transformation inverse to the degradation.

   Stochastic techniques - the best restoration is
    sought according to some stochastic criterion, e.g.,
    a least squares method.
       In some cases the degradation transformation must be
        estimated first.
   It is advantageous to know the degradation function
    explicitly.

   The better this knowledge is, the better are the
    results of the restoration.

   There are three typical degradations with a simple
    function:
       Relative constant speed movement of the object with
        respect to the camera,
       wrong lens focus,
       and atmospheric turbulence.
 Inmost practical cases, there is insufficient
  knowledge about the degradation, and it must
  be estimated and modeled.
   Methods:
       A priori knowledge about degradation - either known in
        advance or obtained before restoration.
       If it is clear in advance that the image was degraded by
        relative motion of an object with respect to the sensor then
        the modeling only determines the speed and direction of
        the motion.

   An example of parameters obtained before
    restoration is an attempt to estimate parameters of a
    capturing device such as a TV camera or digitizer.
   A posteriori knowledge is obtained by analyzing
    the degraded image.

   A typical example is to find some interest points in
    the image (e.g. corners, straight lines) and guess
    how they looked before degradation.

   Another possibility is to use spectral characteristics
    of the regions in the image that are relatively
    homogeneous.
A degraded image g can arise from the
 original image f by a process which can be
 expressed as



 where s is some nonlinear function and nu
 describes the noise.
 The   degradation is very often simplified by
    neglecting the nonlinearity
    assuming that the function h is invariant with
     respect to position in the image.


 Degradation can be then expressed as
  convolution
 Ifthe degradation is given by above equation
  and the noise is not significant then image
  restoration equates to inverse convolution
  (also called deconvolution).

 Ifnoise is not negligible then the inverse
  convolution is solved as an overdetermined
  system of linear equations.
Degradations that are
           easy to restore
 Some  degradations can be easily expressed
 mathematically (convolution) and also
 restored simply in images.

 TheFourier transform H of the convolution
 function is used.
Relative motion of
     the camera and object
 Assume an image is acquired with a camera
 with a mechanical shutter.

 Relativemotion of the camera and the
 photographed object during the shutter open
 time T causes smoothing of the object in the
 image.
 Suppose  V is the constant speed in the
 direction of the x axis; the Fourier transform
 H(u,v) of the degradation caused in time T is
 given by
Wrong lens focus
 Image  smoothing caused by imperfect focus
 of a thin lens can be described by the
 following function




 where J1 is the Bessel function of the first
 order, r2 = u2 + v2, and a is the displacement.
Atmospheric turbulence
   needs to be restored in remote sensing and
    astronomy
   caused by temperature non-homogeneity in the
    atmosphere that deviates passing light rays.
   The mathematical model



    where c is a constant that depends on the type of
    turbulence which is usually found experimentally. The
    power 5/6 is sometimes replaced by 1.
Inverse filtration
 based on the assumption that degradation
  was caused by a linear function h(i,j)

 theadditive noise nu is another source of
  degradation.

 Itis further assumed that nu is independent
  of the signal.
 Applying   the Fourier transform



 The degradation can be eliminated if the
 restoration filter has a transfer function that is
 inverse to the degradation h ... or in Fourier
 transform H-1(u,v).
 Theundegraded image F is derived from its
 degraded version G.



 Thisequation shows that inverse filtration
 works well for images that are not corrupted
 by noise.
   If noise is present and additive error occurs, its
    influence is significant for frequencies where H(u,v)
    has small magnitude. These usually correspond to
    high frequencies u,v and thus fine details are blurred
    in the image.
   The changing level of noise may cause problems as
    well because small magnitudes of H(u,v) can cause
    large changes in the result.
   Inverse filter values should not be of zero value so
    as to avoid zero divides in above equation.
Wiener filtration
 Itis no surprise that inverse filtration gives
  poor results in pixels suffering from noise
  since the noise is not taken into account.

 Wiener  filtration explores a priori knowledge
  about the noise.
 Restoration by the Wiener filter gives an
 estimate of the original uncorrupted image f
 with minimal mean square error e2
 No   constraints applied to above equation
    optimal estimate ^f is the conditional mean value
     of the ideal image f under the condition g
    complicated from the computational point of view
    also, the conditional probability density between
     the optimal image f and the corrupted image g is
     not usually known.
    the optimal estimate is in general a nonlinear
     function of the image g.
 Minimization of e2 is easy if estimate ^f is a
  linear combination of the values in the image
  g -close-optimal solution

H   ... Fourier transform of the Wiener filter -
     W
  considers noise - see Eq. below
 G ... Fourier transform of the degraded image
   Where,
    H is the transform function of the degradation
    # denotes complex conjugate
    S_{nu nu} is the spectral density of the noise
    S_{gg} is the spectral density of the degraded
    image
   If Wiener filtration is used, the nature of degradation
    H and statistical parameters of the noise need to be
    known.

   Wiener filtration theory solves the problem of a
    posteriori linear mean square estimate -- all statistics
    (e.g., power spectrum) should be available in
    advance.

   Note that the inverse filter discussed earlier is a
    special case of the Wiener filter where noise is
    absent i.e. S_{nu nu} = 0.

Weitere ähnliche Inhalte

Was ist angesagt?

Spatial enhancement
Spatial enhancement Spatial enhancement
Spatial enhancement
abinarkt
 
Landuse Classification from Satellite Imagery using Deep Learning
Landuse Classification from Satellite Imagery using Deep LearningLanduse Classification from Satellite Imagery using Deep Learning
Landuse Classification from Satellite Imagery using Deep Learning
DataWorks Summit
 
Image pre processing
Image pre processingImage pre processing
Image pre processing
Ashish Kumar
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
Malik obeisat
 

Was ist angesagt? (20)

HIGH PASS FILTER IN DIGITAL IMAGE PROCESSING
HIGH PASS FILTER IN DIGITAL IMAGE PROCESSINGHIGH PASS FILTER IN DIGITAL IMAGE PROCESSING
HIGH PASS FILTER IN DIGITAL IMAGE PROCESSING
 
Digital Image Processing (DIP)
Digital Image Processing (DIP)Digital Image Processing (DIP)
Digital Image Processing (DIP)
 
Spatial enhancement
Spatial enhancement Spatial enhancement
Spatial enhancement
 
07 Image classification.pptx
07 Image classification.pptx07 Image classification.pptx
07 Image classification.pptx
 
04 image enhancement edge detection
04 image enhancement edge detection04 image enhancement edge detection
04 image enhancement edge detection
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Spatial filtering
Spatial filteringSpatial filtering
Spatial filtering
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Image processing ppt
Image processing pptImage processing ppt
Image processing ppt
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Landuse Classification from Satellite Imagery using Deep Learning
Landuse Classification from Satellite Imagery using Deep LearningLanduse Classification from Satellite Imagery using Deep Learning
Landuse Classification from Satellite Imagery using Deep Learning
 
6.frequency domain image_processing
6.frequency domain image_processing6.frequency domain image_processing
6.frequency domain image_processing
 
SPATIAL FILTER
SPATIAL FILTERSPATIAL FILTER
SPATIAL FILTER
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier Transformation
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Image Restoration And Reconstruction
Image Restoration And ReconstructionImage Restoration And Reconstruction
Image Restoration And Reconstruction
 
Image pre processing
Image pre processingImage pre processing
Image pre processing
 
Fundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processingFundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processing
 
Dip Image Segmentation
Dip Image SegmentationDip Image Segmentation
Dip Image Segmentation
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
 

Andere mochten auch

Computer architecture
Computer architecture Computer architecture
Computer architecture
Ashish Kumar
 
Introduction image processing
Introduction image processingIntroduction image processing
Introduction image processing
Ashish Kumar
 
Noise filtering
Noise filteringNoise filtering
Noise filtering
Alaa Ahmed
 
Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domain
Ashish Kumar
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper Noise
Ankush Srivastava
 
Introduction vision
Introduction visionIntroduction vision
Introduction vision
Ashish Kumar
 
Digitized images and
Digitized images andDigitized images and
Digitized images and
Ashish Kumar
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
Ashish Kumar
 

Andere mochten auch (20)

Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image Restoration
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
DIP - Image Restoration
DIP - Image RestorationDIP - Image Restoration
DIP - Image Restoration
 
Noise Models
Noise ModelsNoise Models
Noise Models
 
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
 
Image restoration
Image restorationImage restoration
Image restoration
 
filters for noise in image processing
filters for noise in image processingfilters for noise in image processing
filters for noise in image processing
 
Computer architecture
Computer architecture Computer architecture
Computer architecture
 
Introduction image processing
Introduction image processingIntroduction image processing
Introduction image processing
 
Digital Image Processing Fundamental
Digital Image Processing FundamentalDigital Image Processing Fundamental
Digital Image Processing Fundamental
 
Image processing
Image processingImage processing
Image processing
 
Noise filtering
Noise filteringNoise filtering
Noise filtering
 
Image restoration
Image restorationImage restoration
Image restoration
 
Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domain
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper Noise
 
Introduction vision
Introduction visionIntroduction vision
Introduction vision
 
Digitized images and
Digitized images andDigitized images and
Digitized images and
 
Wiener filters
Wiener filtersWiener filters
Wiener filters
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
 

Ähnlich wie Image pre processing-restoration

Non-Blind Deblurring Using Partial Differential Equation Method
Non-Blind Deblurring Using Partial Differential Equation MethodNon-Blind Deblurring Using Partial Differential Equation Method
Non-Blind Deblurring Using Partial Differential Equation Method
Editor IJCATR
 
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
 
Paper id 212014133
Paper id 212014133Paper id 212014133
Paper id 212014133
IJRAT
 

Ähnlich wie Image pre processing-restoration (20)

COMPUTER VISION CHAPTER 4 PARTthis ppt 3.pdf
COMPUTER VISION CHAPTER 4 PARTthis ppt 3.pdfCOMPUTER VISION CHAPTER 4 PARTthis ppt 3.pdf
COMPUTER VISION CHAPTER 4 PARTthis ppt 3.pdf
 
Chap6 image restoration
Chap6 image restorationChap6 image restoration
Chap6 image restoration
 
M.sc.iii sem digital image processing unit iv
M.sc.iii sem digital image processing unit ivM.sc.iii sem digital image processing unit iv
M.sc.iii sem digital image processing unit iv
 
Non-Blind Deblurring Using Partial Differential Equation Method
Non-Blind Deblurring Using Partial Differential Equation MethodNon-Blind Deblurring Using Partial Differential Equation Method
Non-Blind Deblurring Using Partial Differential Equation Method
 
An Image Restoration Practical Method
An Image Restoration Practical MethodAn Image Restoration Practical Method
An Image Restoration Practical Method
 
DIP_CHAP3 (1).ppt
DIP_CHAP3 (1).pptDIP_CHAP3 (1).ppt
DIP_CHAP3 (1).ppt
 
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
 
V01 i010412
V01 i010412V01 i010412
V01 i010412
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Image restoration1
Image restoration1Image restoration1
Image restoration1
 
vs.pptx
vs.pptxvs.pptx
vs.pptx
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
Advance in Image and Audio Restoration and their Assessments: A Review
Advance in Image and Audio Restoration and their Assessments: A ReviewAdvance in Image and Audio Restoration and their Assessments: A Review
Advance in Image and Audio Restoration and their Assessments: A Review
 
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)
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Image Processing With Sampling and Noise Filtration in Image Reconigation Pr...
Image Processing With Sampling and Noise Filtration in Image  Reconigation Pr...Image Processing With Sampling and Noise Filtration in Image  Reconigation Pr...
Image Processing With Sampling and Noise Filtration in Image Reconigation Pr...
 
Sliced Ridgelet Transform for Image Denoising
Sliced Ridgelet Transform for Image DenoisingSliced Ridgelet Transform for Image Denoising
Sliced Ridgelet Transform for Image Denoising
 
Galilean Differential Geometry Of Moving Images
Galilean Differential Geometry Of Moving ImagesGalilean Differential Geometry Of Moving Images
Galilean Differential Geometry Of Moving Images
 
Paper id 212014133
Paper id 212014133Paper id 212014133
Paper id 212014133
 
1873 1878
1873 18781873 1878
1873 1878
 

Mehr von Ashish Kumar (17)

Lecture2 color
Lecture2 colorLecture2 color
Lecture2 color
 
Image pre processing - local processing
Image pre processing - local processingImage pre processing - local processing
Image pre processing - local processing
 
Data structures
Data structuresData structures
Data structures
 
Lecture2 light
Lecture2 lightLecture2 light
Lecture2 light
 
process management
 process management process management
process management
 
resource management
  resource management  resource management
resource management
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memory
 
message passing
 message passing message passing
message passing
 
remote procedure calls
  remote procedure calls  remote procedure calls
remote procedure calls
 
color
colorcolor
color
 
Introduction image processing
Introduction image processingIntroduction image processing
Introduction image processing
 
system design
system designsystem design
system design
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 
Compression
CompressionCompression
Compression
 
1.animation
1.animation1.animation
1.animation
 
online game over cryptography
online game over cryptographyonline game over cryptography
online game over cryptography
 
MHEG
MHEGMHEG
MHEG
 

Image pre processing-restoration

  • 1. Image Pre-Processing: Image Restoration Ashish Khare
  • 2.  Imagerestoration - suppressing image degradation using knowledge about its nature
  • 3. Image restoration as inverse convolution of the whole image  Most image restoration methods are based on convolution applied globally to the whole image.  Degradation causes:  defects of optical lenses,  nonlinearity of the electro-optical sensor,  graininess of the film material,  relative motion between an object and camera  wrong focus,  atmospheric turbulence in remote sensing or astronomy,  etc.
  • 4.  Theobjective of image restoration is to reconstruct the original image from its degraded version.  Image restoration techniques - two groups:
  • 5. Deterministic methods - applicable to images with little noise and a known degradation function.  The original image is obtained from the degraded one by a transformation inverse to the degradation.  Stochastic techniques - the best restoration is sought according to some stochastic criterion, e.g., a least squares method.  In some cases the degradation transformation must be estimated first.
  • 6. It is advantageous to know the degradation function explicitly.  The better this knowledge is, the better are the results of the restoration.  There are three typical degradations with a simple function:  Relative constant speed movement of the object with respect to the camera,  wrong lens focus,  and atmospheric turbulence.
  • 7.  Inmost practical cases, there is insufficient knowledge about the degradation, and it must be estimated and modeled.
  • 8. Methods:  A priori knowledge about degradation - either known in advance or obtained before restoration.  If it is clear in advance that the image was degraded by relative motion of an object with respect to the sensor then the modeling only determines the speed and direction of the motion.  An example of parameters obtained before restoration is an attempt to estimate parameters of a capturing device such as a TV camera or digitizer.
  • 9. A posteriori knowledge is obtained by analyzing the degraded image.  A typical example is to find some interest points in the image (e.g. corners, straight lines) and guess how they looked before degradation.  Another possibility is to use spectral characteristics of the regions in the image that are relatively homogeneous.
  • 10. A degraded image g can arise from the original image f by a process which can be expressed as where s is some nonlinear function and nu describes the noise.
  • 11.  The degradation is very often simplified by  neglecting the nonlinearity  assuming that the function h is invariant with respect to position in the image. Degradation can be then expressed as convolution
  • 12.  Ifthe degradation is given by above equation and the noise is not significant then image restoration equates to inverse convolution (also called deconvolution).  Ifnoise is not negligible then the inverse convolution is solved as an overdetermined system of linear equations.
  • 13. Degradations that are easy to restore  Some degradations can be easily expressed mathematically (convolution) and also restored simply in images.  TheFourier transform H of the convolution function is used.
  • 14. Relative motion of the camera and object  Assume an image is acquired with a camera with a mechanical shutter.  Relativemotion of the camera and the photographed object during the shutter open time T causes smoothing of the object in the image.
  • 15.  Suppose V is the constant speed in the direction of the x axis; the Fourier transform H(u,v) of the degradation caused in time T is given by
  • 16. Wrong lens focus  Image smoothing caused by imperfect focus of a thin lens can be described by the following function where J1 is the Bessel function of the first order, r2 = u2 + v2, and a is the displacement.
  • 17. Atmospheric turbulence  needs to be restored in remote sensing and astronomy  caused by temperature non-homogeneity in the atmosphere that deviates passing light rays.  The mathematical model where c is a constant that depends on the type of turbulence which is usually found experimentally. The power 5/6 is sometimes replaced by 1.
  • 18. Inverse filtration  based on the assumption that degradation was caused by a linear function h(i,j)  theadditive noise nu is another source of degradation.  Itis further assumed that nu is independent of the signal.
  • 19.  Applying the Fourier transform  The degradation can be eliminated if the restoration filter has a transfer function that is inverse to the degradation h ... or in Fourier transform H-1(u,v).
  • 20.  Theundegraded image F is derived from its degraded version G.  Thisequation shows that inverse filtration works well for images that are not corrupted by noise.
  • 21. If noise is present and additive error occurs, its influence is significant for frequencies where H(u,v) has small magnitude. These usually correspond to high frequencies u,v and thus fine details are blurred in the image.  The changing level of noise may cause problems as well because small magnitudes of H(u,v) can cause large changes in the result.  Inverse filter values should not be of zero value so as to avoid zero divides in above equation.
  • 22. Wiener filtration  Itis no surprise that inverse filtration gives poor results in pixels suffering from noise since the noise is not taken into account.  Wiener filtration explores a priori knowledge about the noise.
  • 23.  Restoration by the Wiener filter gives an estimate of the original uncorrupted image f with minimal mean square error e2
  • 24.  No constraints applied to above equation  optimal estimate ^f is the conditional mean value of the ideal image f under the condition g  complicated from the computational point of view  also, the conditional probability density between the optimal image f and the corrupted image g is not usually known.  the optimal estimate is in general a nonlinear function of the image g.
  • 25.  Minimization of e2 is easy if estimate ^f is a linear combination of the values in the image g -close-optimal solution H ... Fourier transform of the Wiener filter - W considers noise - see Eq. below  G ... Fourier transform of the degraded image
  • 26. Where, H is the transform function of the degradation # denotes complex conjugate S_{nu nu} is the spectral density of the noise S_{gg} is the spectral density of the degraded image
  • 27. If Wiener filtration is used, the nature of degradation H and statistical parameters of the noise need to be known.  Wiener filtration theory solves the problem of a posteriori linear mean square estimate -- all statistics (e.g., power spectrum) should be available in advance.  Note that the inverse filter discussed earlier is a special case of the Wiener filter where noise is absent i.e. S_{nu nu} = 0.