SlideShare a Scribd company logo
1 of 40
Download to read offline
Spatial Transformations

IT472: Digital Image Processing, Lecture 5
Spatial Transformations

   Affine transformations of the support of the image f (x, y )
       Scaling: x = cx x and y = cy y             → f (x , y ) = f (x, y ).
       Rotation: x = x cos θ − y sin θ and
       y = x cos θ + y sin θ → f (x , y ) = f (x, y ).
       Translation: x = x + tx and
       y = y + ty → f (x , y ) = f (x, y ).
       Shear: x = x + sy y and y = y              → f (x , y ) = f (x, y ).
       All these collected together can be represented in a matrix
       form using Homogeneous coordinates, as follows:
                                                      
             x           cos θ/cx /1 sin θ/sy /0 0/tx       x
           y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1)
             1                0           0         1       1


                        IT472: Lecture 5   2/18
Spatial Transformations

   Affine transformations of the support of the image f (x, y )
       Scaling: x = cx x and y = cy y             → f (x , y ) = f (x, y ).
       Rotation: x = x cos θ − y sin θ and
       y = x cos θ + y sin θ → f (x , y ) = f (x, y ).
       Translation: x = x + tx and
       y = y + ty → f (x , y ) = f (x, y ).
       Shear: x = x + sy y and y = y              → f (x , y ) = f (x, y ).
       All these collected together can be represented in a matrix
       form using Homogeneous coordinates, as follows:
                                                      
             x           cos θ/cx /1 sin θ/sy /0 0/tx       x
           y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1)
             1                0           0         1       1


                        IT472: Lecture 5   2/18
Spatial Transformations

   Affine transformations of the support of the image f (x, y )
       Scaling: x = cx x and y = cy y             → f (x , y ) = f (x, y ).
       Rotation: x = x cos θ − y sin θ and
       y = x cos θ + y sin θ → f (x , y ) = f (x, y ).
       Translation: x = x + tx and
       y = y + ty → f (x , y ) = f (x, y ).
       Shear: x = x + sy y and y = y              → f (x , y ) = f (x, y ).
       All these collected together can be represented in a matrix
       form using Homogeneous coordinates, as follows:
                                                      
             x           cos θ/cx /1 sin θ/sy /0 0/tx       x
           y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1)
             1                0           0         1       1


                        IT472: Lecture 5   2/18
Spatial Transformations

   Affine transformations of the support of the image f (x, y )
       Scaling: x = cx x and y = cy y             → f (x , y ) = f (x, y ).
       Rotation: x = x cos θ − y sin θ and
       y = x cos θ + y sin θ → f (x , y ) = f (x, y ).
       Translation: x = x + tx and
       y = y + ty → f (x , y ) = f (x, y ).
       Shear: x = x + sy y and y = y              → f (x , y ) = f (x, y ).
       All these collected together can be represented in a matrix
       form using Homogeneous coordinates, as follows:
                                                      
             x           cos θ/cx /1 sin θ/sy /0 0/tx       x
           y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1)
             1                0           0         1       1


                        IT472: Lecture 5   2/18
Spatial Transformations

   Affine transformations of the support of the image f (x, y )
       Scaling: x = cx x and y = cy y             → f (x , y ) = f (x, y ).
       Rotation: x = x cos θ − y sin θ and
       y = x cos θ + y sin θ → f (x , y ) = f (x, y ).
       Translation: x = x + tx and
       y = y + ty → f (x , y ) = f (x, y ).
       Shear: x = x + sy y and y = y              → f (x , y ) = f (x, y ).
       All these collected together can be represented in a matrix
       form using Homogeneous coordinates, as follows:
                                                      
             x           cos θ/cx /1 sin θ/sy /0 0/tx       x
           y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1)
             1                0           0         1       1


                        IT472: Lecture 5   2/18
Implementation issues


      For a given affine transformation matrix A, A · (x, y )t is not
      always an integer.
      Is it possible that due to rounding off
      A · (x1 , y1 )t = A · (x2 , y2 )t
      Solution:
          Instead of using a forward mapping, let’s work with the inverse
          mapping.
                              A−1 : (x , y )t → (x, y )t
          We can scan the output image coordinates and see where they
          come from, and accordingly assign them grey values.




                       IT472: Lecture 5   3/18
Implementation issues


      For a given affine transformation matrix A, A · (x, y )t is not
      always an integer.
      Is it possible that due to rounding off
      A · (x1 , y1 )t = A · (x2 , y2 )t
      Solution:
          Instead of using a forward mapping, let’s work with the inverse
          mapping.
                              A−1 : (x , y )t → (x, y )t
          We can scan the output image coordinates and see where they
          come from, and accordingly assign them grey values.




                       IT472: Lecture 5   3/18
Implementation issues


      For a given affine transformation matrix A, A · (x, y )t is not
      always an integer.
      Is it possible that due to rounding off
      A · (x1 , y1 )t = A · (x2 , y2 )t
      Solution:
          Instead of using a forward mapping, let’s work with the inverse
          mapping.
                              A−1 : (x , y )t → (x, y )t
          We can scan the output image coordinates and see where they
          come from, and accordingly assign them grey values.




                       IT472: Lecture 5   3/18
Implementation issues


      For a given affine transformation matrix A, A · (x, y )t is not
      always an integer.
      Is it possible that due to rounding off
      A · (x1 , y1 )t = A · (x2 , y2 )t
      Solution:
          Instead of using a forward mapping, let’s work with the inverse
          mapping.
                              A−1 : (x , y )t → (x, y )t
          We can scan the output image coordinates and see where they
          come from, and accordingly assign them grey values.




                       IT472: Lecture 5   3/18
Implementation issues

      For a given affine transformation matrix A, A · (x, y )t is not
      always an integer.
      Is it possible that due to rounding off
      A · (x1 , y1 )t = A · (x2 , y2 )t
      Solution:
          Instead of using a forward mapping, let’s work with the inverse
          mapping.
                              A−1 : (x , y )t → (x, y )t
          We can scan the output image coordinates and see where they
          come from, and accordingly assign them grey values.




                       IT472: Lecture 5   3/18
Implementation issues

      For a given affine transformation matrix A, A · (x, y )t is not
      always an integer.
      Is it possible that due to rounding off
      A · (x1 , y1 )t = A · (x2 , y2 )t
      Solution:
          Instead of using a forward mapping, let’s work with the inverse
          mapping.
                              A−1 : (x , y )t → (x, y )t
          We can scan the output image coordinates and see where they
          come from, and accordingly assign them grey values.




                       IT472: Lecture 5   3/18
Examples




  Figure: (top-left) Image of Lena (top-right) Image rotated by 23◦
  (bottom-left) Shear sx = 1.2, (bottom-right) Shear sx = −1.2




                         IT472: Lecture 5   4/18
End of Chapter 2
Chapter 3: Intensity transformations and Spatial filtering
(Image enhancement in the spatial domain)




                 IT472: Lecture 5   5/18
End of Chapter 2
Chapter 3: Intensity transformations and Spatial filtering
(Image enhancement in the spatial domain)




                 IT472: Lecture 5   5/18
Image enhancement



      Image enhancement is a pre-processing step that makes the
      input image better suited for further processing. For example,
      for segmentation, recognition, or simply better for somebody
      to view the image.
      Intensity transformations: Depends only on the intensity value
      at a point: g (x, y ) = T [f (x, y )], can be also written as
      s = T [r ], where r and s are the input and output grey values
      respectively.




                       IT472: Lecture 5   6/18
Image enhancement



      Image enhancement is a pre-processing step that makes the
      input image better suited for further processing. For example,
      for segmentation, recognition, or simply better for somebody
      to view the image.
      Intensity transformations: Depends only on the intensity value
      at a point: g (x, y ) = T [f (x, y )], can be also written as
      s = T [r ], where r and s are the input and output grey values
      respectively.




                       IT472: Lecture 5   6/18
Intensity transformations




       Image negative: s = L − 1 − r
       Powers, nth roots, Log transformations etc..




                        IT472: Lecture 5   7/18
Intensity transformations




       Image negative: s = L − 1 − r
       Powers, nth roots, Log transformations etc..




                        IT472: Lecture 5   7/18
Intensity transformations

       Image negative: s = L − 1 − r
       Powers, nth roots, Log transformations etc..




                        IT472: Lecture 5   7/18
Applications of Intensity transformations


       Intensity transformations are used frequently for Contrast
       enhancement.
       Contrast measures how much the object color/grey value
       differs from its surroundings.
       Objective definitions:
           Weber contrast: I −Ib
                             Ib
           Michelson contrast: IImax −Imin
                                 max +I
                                        min


                                    M        N
           RMS contrast:            i=1      j=1 (Iij   − ¯)2
                                                          I
       Appropriate transformation must be chosen depending on
       what grey values you want to enhance and what is the
       content of the input image.



                          IT472: Lecture 5     8/18
Applications of Intensity transformations


       Intensity transformations are used frequently for Contrast
       enhancement.
       Contrast measures how much the object color/grey value
       differs from its surroundings.
       Objective definitions:
           Weber contrast: I −Ib
                             Ib
           Michelson contrast: IImax −Imin
                                 max +I
                                        min


                                    M        N
           RMS contrast:            i=1      j=1 (Iij   − ¯)2
                                                          I
       Appropriate transformation must be chosen depending on
       what grey values you want to enhance and what is the
       content of the input image.



                          IT472: Lecture 5     8/18
Applications of Intensity transformations


       Intensity transformations are used frequently for Contrast
       enhancement.
       Contrast measures how much the object color/grey value
       differs from its surroundings.
       Objective definitions:
           Weber contrast: I −Ib
                             Ib
           Michelson contrast: IImax −Imin
                                 max +I
                                        min


                                    M        N
           RMS contrast:            i=1      j=1 (Iij   − ¯)2
                                                          I
       Appropriate transformation must be chosen depending on
       what grey values you want to enhance and what is the
       content of the input image.



                          IT472: Lecture 5     8/18
Applications of Intensity transformations


       Intensity transformations are used frequently for Contrast
       enhancement.
       Contrast measures how much the object color/grey value
       differs from its surroundings.
       Objective definitions:
           Weber contrast: I −Ib
                             Ib
           Michelson contrast: IImax −Imin
                                 max +I
                                        min


                                    M        N
           RMS contrast:            i=1      j=1 (Iij   − ¯)2
                                                          I
       Appropriate transformation must be chosen depending on
       what grey values you want to enhance and what is the
       content of the input image.



                          IT472: Lecture 5     8/18
Applications of Intensity transformations


       Intensity transformations are used frequently for Contrast
       enhancement.
       Contrast measures how much the object color/grey value
       differs from its surroundings.
       Objective definitions:
           Weber contrast: I −Ib
                             Ib
           Michelson contrast: IImax −Imin
                                 max +I
                                        min


                                    M        N
           RMS contrast:            i=1      j=1 (Iij   − ¯)2
                                                          I
       Appropriate transformation must be chosen depending on
       what grey values you want to enhance and what is the
       content of the input image.



                          IT472: Lecture 5     8/18
Applications of Intensity transformations


       Intensity transformations are used frequently for Contrast
       enhancement.
       Contrast measures how much the object color/grey value
       differs from its surroundings.
       Objective definitions:
           Weber contrast: I −Ib
                             Ib
           Michelson contrast: IImax −Imin
                                 max +I
                                        min


                                    M        N
           RMS contrast:            i=1      j=1 (Iij   − ¯)2
                                                          I
       Appropriate transformation must be chosen depending on
       what grey values you want to enhance and what is the
       content of the input image.



                          IT472: Lecture 5     8/18
Applications of Intensity transformations


       Intensity transformations are used frequently for Contrast
       enhancement.
       Contrast measures how much the object color/grey value
       differs from its surroundings.
       Objective definitions:
           Weber contrast: I −Ib
                             Ib
           Michelson contrast: IImax −Imin
                                 max +I
                                        min


                                    M        N
           RMS contrast:            i=1      j=1 (Iij   − ¯)2
                                                          I
       Appropriate transformation must be chosen depending on
       what grey values you want to enhance and what is the
       content of the input image.



                          IT472: Lecture 5     8/18
Contrast enhancement



      We will frequently use the log-transformation to view the
      Fourier spectrum of an image.




                      IT472: Lecture 5   9/18
Contrast enhancement



      We will frequently use the log-transformation to view the
      Fourier spectrum of an image.




                      IT472: Lecture 5   9/18
Gamma transformations

      s = cr γ




                 IT472: Lecture 5   10/18
Gamma transformations

      Gamma correction in CRTs




                    IT472: Lecture 5   11/18
Gamma transformations

      Enhance dark grey-values in the image.




                      IT472: Lecture 5   12/18
Gamma transformations

      Enhance brighter grey-values in the image.




                      IT472: Lecture 5   13/18
Contrast stretching




                      IT472: Lecture 5   14/18
Intensity slicing




                    IT472: Lecture 5   15/18
Bit-plane slicing




       Every pixel needs 8 bits (assuming gray values from 0 - 255).
       Every bit plane can be thought of as a binary image.




                       IT472: Lecture 5   16/18
Bit-plane slicing



       Every pixel needs 8 bits (assuming gray values from 0 - 255).
       Every bit plane can be thought of as a binary image.




                       IT472: Lecture 5   16/18
Bit-plane slicing



       Every pixel needs 8 bits (assuming gray values from 0 - 255).
       Every bit plane can be thought of as a binary image.




                       IT472: Lecture 5   16/18
Bit-plane slicing




                    IT472: Lecture 5   17/18
Bit-plane slicing

   Can be used for image compression.




   Figure: (top row) Reconstructions from bit planes (bottom) Original
   image



                          IT472: Lecture 5   18/18

More Related Content

What's hot

Learning Sparse Representation
Learning Sparse RepresentationLearning Sparse Representation
Learning Sparse RepresentationGabriel Peyré
 
Signal Processing Course : Convex Optimization
Signal Processing Course : Convex OptimizationSignal Processing Course : Convex Optimization
Signal Processing Course : Convex OptimizationGabriel Peyré
 
Mesh Processing Course : Mesh Parameterization
Mesh Processing Course : Mesh ParameterizationMesh Processing Course : Mesh Parameterization
Mesh Processing Course : Mesh ParameterizationGabriel Peyré
 
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...Gabriel Peyré
 
Mesh Processing Course : Geodesic Sampling
Mesh Processing Course : Geodesic SamplingMesh Processing Course : Geodesic Sampling
Mesh Processing Course : Geodesic SamplingGabriel Peyré
 
Signal Processing Course : Inverse Problems Regularization
Signal Processing Course : Inverse Problems RegularizationSignal Processing Course : Inverse Problems Regularization
Signal Processing Course : Inverse Problems RegularizationGabriel Peyré
 
Model Selection with Piecewise Regular Gauges
Model Selection with Piecewise Regular GaugesModel Selection with Piecewise Regular Gauges
Model Selection with Piecewise Regular GaugesGabriel Peyré
 
Mesh Processing Course : Multiresolution
Mesh Processing Course : MultiresolutionMesh Processing Course : Multiresolution
Mesh Processing Course : MultiresolutionGabriel Peyré
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motionJa-Keoung Koo
 
On the solvability of a system of forward-backward linear equations with unbo...
On the solvability of a system of forward-backward linear equations with unbo...On the solvability of a system of forward-backward linear equations with unbo...
On the solvability of a system of forward-backward linear equations with unbo...Nikita V. Artamonov
 
Levitan Centenary Conference Talk, June 27 2014
Levitan Centenary Conference Talk, June 27 2014Levitan Centenary Conference Talk, June 27 2014
Levitan Centenary Conference Talk, June 27 2014Nikita V. Artamonov
 
Scientific Computing with Python Webinar 9/18/2009:Curve Fitting
Scientific Computing with Python Webinar 9/18/2009:Curve FittingScientific Computing with Python Webinar 9/18/2009:Curve Fitting
Scientific Computing with Python Webinar 9/18/2009:Curve FittingEnthought, Inc.
 
Image Processing 2
Image Processing 2Image Processing 2
Image Processing 2jainatin
 
Lesson 2: A Catalog of Essential Functions
Lesson 2: A Catalog of Essential FunctionsLesson 2: A Catalog of Essential Functions
Lesson 2: A Catalog of Essential FunctionsMatthew Leingang
 
Nonlinear Manifolds in Computer Vision
Nonlinear Manifolds in Computer VisionNonlinear Manifolds in Computer Vision
Nonlinear Manifolds in Computer Visionzukun
 
X2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbersX2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbersNigel Simmons
 
Lesson03 The Concept Of Limit 027 Slides
Lesson03   The Concept Of Limit 027 SlidesLesson03   The Concept Of Limit 027 Slides
Lesson03 The Concept Of Limit 027 SlidesMatthew Leingang
 

What's hot (20)

Learning Sparse Representation
Learning Sparse RepresentationLearning Sparse Representation
Learning Sparse Representation
 
Signal Processing Course : Convex Optimization
Signal Processing Course : Convex OptimizationSignal Processing Course : Convex Optimization
Signal Processing Course : Convex Optimization
 
Mesh Processing Course : Mesh Parameterization
Mesh Processing Course : Mesh ParameterizationMesh Processing Course : Mesh Parameterization
Mesh Processing Course : Mesh Parameterization
 
Assignment6
Assignment6Assignment6
Assignment6
 
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
Low Complexity Regularization of Inverse Problems - Course #2 Recovery Guaran...
 
Mesh Processing Course : Geodesic Sampling
Mesh Processing Course : Geodesic SamplingMesh Processing Course : Geodesic Sampling
Mesh Processing Course : Geodesic Sampling
 
Signal Processing Course : Inverse Problems Regularization
Signal Processing Course : Inverse Problems RegularizationSignal Processing Course : Inverse Problems Regularization
Signal Processing Course : Inverse Problems Regularization
 
Model Selection with Piecewise Regular Gauges
Model Selection with Piecewise Regular GaugesModel Selection with Piecewise Regular Gauges
Model Selection with Piecewise Regular Gauges
 
Mesh Processing Course : Multiresolution
Mesh Processing Course : MultiresolutionMesh Processing Course : Multiresolution
Mesh Processing Course : Multiresolution
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motion
 
Core2.beamer
Core2.beamerCore2.beamer
Core2.beamer
 
On the solvability of a system of forward-backward linear equations with unbo...
On the solvability of a system of forward-backward linear equations with unbo...On the solvability of a system of forward-backward linear equations with unbo...
On the solvability of a system of forward-backward linear equations with unbo...
 
Levitan Centenary Conference Talk, June 27 2014
Levitan Centenary Conference Talk, June 27 2014Levitan Centenary Conference Talk, June 27 2014
Levitan Centenary Conference Talk, June 27 2014
 
Scientific Computing with Python Webinar 9/18/2009:Curve Fitting
Scientific Computing with Python Webinar 9/18/2009:Curve FittingScientific Computing with Python Webinar 9/18/2009:Curve Fitting
Scientific Computing with Python Webinar 9/18/2009:Curve Fitting
 
Image Processing 2
Image Processing 2Image Processing 2
Image Processing 2
 
Lesson 2: A Catalog of Essential Functions
Lesson 2: A Catalog of Essential FunctionsLesson 2: A Catalog of Essential Functions
Lesson 2: A Catalog of Essential Functions
 
Nonlinear Manifolds in Computer Vision
Nonlinear Manifolds in Computer VisionNonlinear Manifolds in Computer Vision
Nonlinear Manifolds in Computer Vision
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
X2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbersX2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbers
 
Lesson03 The Concept Of Limit 027 Slides
Lesson03   The Concept Of Limit 027 SlidesLesson03   The Concept Of Limit 027 Slides
Lesson03 The Concept Of Limit 027 Slides
 

Similar to Image Processing 3

Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Mel Anthony Pepito
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Matthew Leingang
 
Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2SIMONTHOMAS S
 
Modeling Transformations
Modeling TransformationsModeling Transformations
Modeling TransformationsTarun Gehlot
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life OlooPundit
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusMatthew Leingang
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusMatthew Leingang
 
2 d transformation
2 d transformation2 d transformation
2 d transformationAnkit Garg
 
Physical Chemistry Assignment Help
Physical Chemistry Assignment HelpPhysical Chemistry Assignment Help
Physical Chemistry Assignment HelpEdu Assignment Help
 
Kernels and Support Vector Machines
Kernels and Support Vector  MachinesKernels and Support Vector  Machines
Kernels and Support Vector MachinesEdgar Marca
 
AEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesAEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesSukhvinder Singh
 
Hyperfunction method for numerical integration and Fredholm integral equation...
Hyperfunction method for numerical integration and Fredholm integral equation...Hyperfunction method for numerical integration and Fredholm integral equation...
Hyperfunction method for numerical integration and Fredholm integral equation...HidenoriOgata
 
Bahan ajar kalkulus integral
Bahan ajar kalkulus integralBahan ajar kalkulus integral
Bahan ajar kalkulus integralgrand_livina_good
 
Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...Valentin De Bortoli
 

Similar to Image Processing 3 (20)

Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)
 
Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2
 
Modeling Transformations
Modeling TransformationsModeling Transformations
Modeling Transformations
 
Transforms UNIt 2
Transforms UNIt 2 Transforms UNIt 2
Transforms UNIt 2
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life
 
2.1 Calculus 2.formulas.pdf.pdf
2.1 Calculus 2.formulas.pdf.pdf2.1 Calculus 2.formulas.pdf.pdf
2.1 Calculus 2.formulas.pdf.pdf
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of Calculus
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of Calculus
 
2 d transformation
2 d transformation2 d transformation
2 d transformation
 
Physical Chemistry Assignment Help
Physical Chemistry Assignment HelpPhysical Chemistry Assignment Help
Physical Chemistry Assignment Help
 
Double integration
Double integrationDouble integration
Double integration
 
The integral
The integralThe integral
The integral
 
Kernels and Support Vector Machines
Kernels and Support Vector  MachinesKernels and Support Vector  Machines
Kernels and Support Vector Machines
 
1533 game mathematics
1533 game mathematics1533 game mathematics
1533 game mathematics
 
2d transformation
2d transformation2d transformation
2d transformation
 
AEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesAEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactories
 
Hyperfunction method for numerical integration and Fredholm integral equation...
Hyperfunction method for numerical integration and Fredholm integral equation...Hyperfunction method for numerical integration and Fredholm integral equation...
Hyperfunction method for numerical integration and Fredholm integral equation...
 
Bahan ajar kalkulus integral
Bahan ajar kalkulus integralBahan ajar kalkulus integral
Bahan ajar kalkulus integral
 
Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...
 

Recently uploaded

Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 

Recently uploaded (20)

LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 

Image Processing 3

  • 1. Spatial Transformations IT472: Digital Image Processing, Lecture 5
  • 2. Spatial Transformations Affine transformations of the support of the image f (x, y ) Scaling: x = cx x and y = cy y → f (x , y ) = f (x, y ). Rotation: x = x cos θ − y sin θ and y = x cos θ + y sin θ → f (x , y ) = f (x, y ). Translation: x = x + tx and y = y + ty → f (x , y ) = f (x, y ). Shear: x = x + sy y and y = y → f (x , y ) = f (x, y ). All these collected together can be represented in a matrix form using Homogeneous coordinates, as follows:      x cos θ/cx /1 sin θ/sy /0 0/tx x  y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1) 1 0 0 1 1 IT472: Lecture 5 2/18
  • 3. Spatial Transformations Affine transformations of the support of the image f (x, y ) Scaling: x = cx x and y = cy y → f (x , y ) = f (x, y ). Rotation: x = x cos θ − y sin θ and y = x cos θ + y sin θ → f (x , y ) = f (x, y ). Translation: x = x + tx and y = y + ty → f (x , y ) = f (x, y ). Shear: x = x + sy y and y = y → f (x , y ) = f (x, y ). All these collected together can be represented in a matrix form using Homogeneous coordinates, as follows:      x cos θ/cx /1 sin θ/sy /0 0/tx x  y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1) 1 0 0 1 1 IT472: Lecture 5 2/18
  • 4. Spatial Transformations Affine transformations of the support of the image f (x, y ) Scaling: x = cx x and y = cy y → f (x , y ) = f (x, y ). Rotation: x = x cos θ − y sin θ and y = x cos θ + y sin θ → f (x , y ) = f (x, y ). Translation: x = x + tx and y = y + ty → f (x , y ) = f (x, y ). Shear: x = x + sy y and y = y → f (x , y ) = f (x, y ). All these collected together can be represented in a matrix form using Homogeneous coordinates, as follows:      x cos θ/cx /1 sin θ/sy /0 0/tx x  y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1) 1 0 0 1 1 IT472: Lecture 5 2/18
  • 5. Spatial Transformations Affine transformations of the support of the image f (x, y ) Scaling: x = cx x and y = cy y → f (x , y ) = f (x, y ). Rotation: x = x cos θ − y sin θ and y = x cos θ + y sin θ → f (x , y ) = f (x, y ). Translation: x = x + tx and y = y + ty → f (x , y ) = f (x, y ). Shear: x = x + sy y and y = y → f (x , y ) = f (x, y ). All these collected together can be represented in a matrix form using Homogeneous coordinates, as follows:      x cos θ/cx /1 sin θ/sy /0 0/tx x  y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1) 1 0 0 1 1 IT472: Lecture 5 2/18
  • 6. Spatial Transformations Affine transformations of the support of the image f (x, y ) Scaling: x = cx x and y = cy y → f (x , y ) = f (x, y ). Rotation: x = x cos θ − y sin θ and y = x cos θ + y sin θ → f (x , y ) = f (x, y ). Translation: x = x + tx and y = y + ty → f (x , y ) = f (x, y ). Shear: x = x + sy y and y = y → f (x , y ) = f (x, y ). All these collected together can be represented in a matrix form using Homogeneous coordinates, as follows:      x cos θ/cx /1 sin θ/sy /0 0/tx x  y  =  − sin θ/sx /0 cos θ/cy /1 0/ty   y  (1) 1 0 0 1 1 IT472: Lecture 5 2/18
  • 7. Implementation issues For a given affine transformation matrix A, A · (x, y )t is not always an integer. Is it possible that due to rounding off A · (x1 , y1 )t = A · (x2 , y2 )t Solution: Instead of using a forward mapping, let’s work with the inverse mapping. A−1 : (x , y )t → (x, y )t We can scan the output image coordinates and see where they come from, and accordingly assign them grey values. IT472: Lecture 5 3/18
  • 8. Implementation issues For a given affine transformation matrix A, A · (x, y )t is not always an integer. Is it possible that due to rounding off A · (x1 , y1 )t = A · (x2 , y2 )t Solution: Instead of using a forward mapping, let’s work with the inverse mapping. A−1 : (x , y )t → (x, y )t We can scan the output image coordinates and see where they come from, and accordingly assign them grey values. IT472: Lecture 5 3/18
  • 9. Implementation issues For a given affine transformation matrix A, A · (x, y )t is not always an integer. Is it possible that due to rounding off A · (x1 , y1 )t = A · (x2 , y2 )t Solution: Instead of using a forward mapping, let’s work with the inverse mapping. A−1 : (x , y )t → (x, y )t We can scan the output image coordinates and see where they come from, and accordingly assign them grey values. IT472: Lecture 5 3/18
  • 10. Implementation issues For a given affine transformation matrix A, A · (x, y )t is not always an integer. Is it possible that due to rounding off A · (x1 , y1 )t = A · (x2 , y2 )t Solution: Instead of using a forward mapping, let’s work with the inverse mapping. A−1 : (x , y )t → (x, y )t We can scan the output image coordinates and see where they come from, and accordingly assign them grey values. IT472: Lecture 5 3/18
  • 11. Implementation issues For a given affine transformation matrix A, A · (x, y )t is not always an integer. Is it possible that due to rounding off A · (x1 , y1 )t = A · (x2 , y2 )t Solution: Instead of using a forward mapping, let’s work with the inverse mapping. A−1 : (x , y )t → (x, y )t We can scan the output image coordinates and see where they come from, and accordingly assign them grey values. IT472: Lecture 5 3/18
  • 12. Implementation issues For a given affine transformation matrix A, A · (x, y )t is not always an integer. Is it possible that due to rounding off A · (x1 , y1 )t = A · (x2 , y2 )t Solution: Instead of using a forward mapping, let’s work with the inverse mapping. A−1 : (x , y )t → (x, y )t We can scan the output image coordinates and see where they come from, and accordingly assign them grey values. IT472: Lecture 5 3/18
  • 13. Examples Figure: (top-left) Image of Lena (top-right) Image rotated by 23◦ (bottom-left) Shear sx = 1.2, (bottom-right) Shear sx = −1.2 IT472: Lecture 5 4/18
  • 14. End of Chapter 2 Chapter 3: Intensity transformations and Spatial filtering (Image enhancement in the spatial domain) IT472: Lecture 5 5/18
  • 15. End of Chapter 2 Chapter 3: Intensity transformations and Spatial filtering (Image enhancement in the spatial domain) IT472: Lecture 5 5/18
  • 16. Image enhancement Image enhancement is a pre-processing step that makes the input image better suited for further processing. For example, for segmentation, recognition, or simply better for somebody to view the image. Intensity transformations: Depends only on the intensity value at a point: g (x, y ) = T [f (x, y )], can be also written as s = T [r ], where r and s are the input and output grey values respectively. IT472: Lecture 5 6/18
  • 17. Image enhancement Image enhancement is a pre-processing step that makes the input image better suited for further processing. For example, for segmentation, recognition, or simply better for somebody to view the image. Intensity transformations: Depends only on the intensity value at a point: g (x, y ) = T [f (x, y )], can be also written as s = T [r ], where r and s are the input and output grey values respectively. IT472: Lecture 5 6/18
  • 18. Intensity transformations Image negative: s = L − 1 − r Powers, nth roots, Log transformations etc.. IT472: Lecture 5 7/18
  • 19. Intensity transformations Image negative: s = L − 1 − r Powers, nth roots, Log transformations etc.. IT472: Lecture 5 7/18
  • 20. Intensity transformations Image negative: s = L − 1 − r Powers, nth roots, Log transformations etc.. IT472: Lecture 5 7/18
  • 21. Applications of Intensity transformations Intensity transformations are used frequently for Contrast enhancement. Contrast measures how much the object color/grey value differs from its surroundings. Objective definitions: Weber contrast: I −Ib Ib Michelson contrast: IImax −Imin max +I min M N RMS contrast: i=1 j=1 (Iij − ¯)2 I Appropriate transformation must be chosen depending on what grey values you want to enhance and what is the content of the input image. IT472: Lecture 5 8/18
  • 22. Applications of Intensity transformations Intensity transformations are used frequently for Contrast enhancement. Contrast measures how much the object color/grey value differs from its surroundings. Objective definitions: Weber contrast: I −Ib Ib Michelson contrast: IImax −Imin max +I min M N RMS contrast: i=1 j=1 (Iij − ¯)2 I Appropriate transformation must be chosen depending on what grey values you want to enhance and what is the content of the input image. IT472: Lecture 5 8/18
  • 23. Applications of Intensity transformations Intensity transformations are used frequently for Contrast enhancement. Contrast measures how much the object color/grey value differs from its surroundings. Objective definitions: Weber contrast: I −Ib Ib Michelson contrast: IImax −Imin max +I min M N RMS contrast: i=1 j=1 (Iij − ¯)2 I Appropriate transformation must be chosen depending on what grey values you want to enhance and what is the content of the input image. IT472: Lecture 5 8/18
  • 24. Applications of Intensity transformations Intensity transformations are used frequently for Contrast enhancement. Contrast measures how much the object color/grey value differs from its surroundings. Objective definitions: Weber contrast: I −Ib Ib Michelson contrast: IImax −Imin max +I min M N RMS contrast: i=1 j=1 (Iij − ¯)2 I Appropriate transformation must be chosen depending on what grey values you want to enhance and what is the content of the input image. IT472: Lecture 5 8/18
  • 25. Applications of Intensity transformations Intensity transformations are used frequently for Contrast enhancement. Contrast measures how much the object color/grey value differs from its surroundings. Objective definitions: Weber contrast: I −Ib Ib Michelson contrast: IImax −Imin max +I min M N RMS contrast: i=1 j=1 (Iij − ¯)2 I Appropriate transformation must be chosen depending on what grey values you want to enhance and what is the content of the input image. IT472: Lecture 5 8/18
  • 26. Applications of Intensity transformations Intensity transformations are used frequently for Contrast enhancement. Contrast measures how much the object color/grey value differs from its surroundings. Objective definitions: Weber contrast: I −Ib Ib Michelson contrast: IImax −Imin max +I min M N RMS contrast: i=1 j=1 (Iij − ¯)2 I Appropriate transformation must be chosen depending on what grey values you want to enhance and what is the content of the input image. IT472: Lecture 5 8/18
  • 27. Applications of Intensity transformations Intensity transformations are used frequently for Contrast enhancement. Contrast measures how much the object color/grey value differs from its surroundings. Objective definitions: Weber contrast: I −Ib Ib Michelson contrast: IImax −Imin max +I min M N RMS contrast: i=1 j=1 (Iij − ¯)2 I Appropriate transformation must be chosen depending on what grey values you want to enhance and what is the content of the input image. IT472: Lecture 5 8/18
  • 28. Contrast enhancement We will frequently use the log-transformation to view the Fourier spectrum of an image. IT472: Lecture 5 9/18
  • 29. Contrast enhancement We will frequently use the log-transformation to view the Fourier spectrum of an image. IT472: Lecture 5 9/18
  • 30. Gamma transformations s = cr γ IT472: Lecture 5 10/18
  • 31. Gamma transformations Gamma correction in CRTs IT472: Lecture 5 11/18
  • 32. Gamma transformations Enhance dark grey-values in the image. IT472: Lecture 5 12/18
  • 33. Gamma transformations Enhance brighter grey-values in the image. IT472: Lecture 5 13/18
  • 34. Contrast stretching IT472: Lecture 5 14/18
  • 35. Intensity slicing IT472: Lecture 5 15/18
  • 36. Bit-plane slicing Every pixel needs 8 bits (assuming gray values from 0 - 255). Every bit plane can be thought of as a binary image. IT472: Lecture 5 16/18
  • 37. Bit-plane slicing Every pixel needs 8 bits (assuming gray values from 0 - 255). Every bit plane can be thought of as a binary image. IT472: Lecture 5 16/18
  • 38. Bit-plane slicing Every pixel needs 8 bits (assuming gray values from 0 - 255). Every bit plane can be thought of as a binary image. IT472: Lecture 5 16/18
  • 39. Bit-plane slicing IT472: Lecture 5 17/18
  • 40. Bit-plane slicing Can be used for image compression. Figure: (top row) Reconstructions from bit planes (bottom) Original image IT472: Lecture 5 18/18