SlideShare a Scribd company logo
Image Transforms
MS.S.Y.SALUNKHE
SITCOE,YADRAV
BASIC GEOMETRIC TRANSFORMATIONS
Transform theory plays a fundamental role in image processing, as working with the transform of
an image instead of the image itself may give us more insight into the properties of the image.
Two dimensional transforms are applied to image enhancement, restoration, encoding and
description.
1.UNITARY TRANSFORMS
a. One dimensional signals
the matrix T is called unitary, and the transformation is called unitary as well. It can be proven (how?) that the
columns (or rows) of an N*N unitary matrix are orthonormal and therefore, form a complete set of basis vectors
in the N- dimensional vector space.
Chapter no4 image transform3
b. Two dimensional signals (images)
As a one dimensional signal can be represented by an orthonormal set of basis vectors, an image can also
be expanded in terms of a discrete set of basis arrays called basis images through a two dimensional
(image) transform.
where, again T(u,v,x,y) and I(x,y,u,v) are called the forward and inverse transformation kernels,
respectively. The forward kernel is said to be separable if T(u,v,x,y)=T1(u,x),T1(v,y)
The same comments are valid for the inverse kernel.
If the kernel T(u,v,x,y) of an image transform is separable and symmetric, then the
Chapter no4 image transform3
Fundamental properties of unitary transforms
1 The property of energy preservation
2. The property of energy compaction
Most unitary transforms pack a large fraction of the energy of the image into relatively few of the transform
coefficients. This means that relatively few of the transform coefficients have significant values and these are the
coefficients that are close to the origin (small index coefficients).
This property is very useful for compression purposes
THE TWO DIMENSIONAL FOURIER TRANSFORM
The Fourier transform is extended to a function f (x, y) of two variables. If f (x, y) is continuous and
integrable and F(u,v) is integrable, the following Fourier transform pair exists
2. Discrete space and continuous frequency
3. Discrete space and discrete frequency: The two dimensional Discrete Fourier Transform (2-D DFT)
If f (x, y) is an M ×N array, such as that obtained by sampling a continuous function of two dimensions at
dimensions M and N on a rectangular grid, then its two dimensional Discrete Fourier transform (DFT) is the
array given by
1. Properties of the 2-D DFT
Most of them are straightforward extensions of the properties of the 1-D Fourier Transform. Advise any
introductory book on Image Processing.
Completeness
The discrete Fourier transform is an invertible, linear transformation
with C denoting the set of complex numbers. In other words, for any N > 0, an N-dimensional complex
vector has a DFT and an IDFT which are in turn N-dimensional complex vectors.
Orthogonally
The Plancherel theorem and Parseval's theorem
If Xk and Yk are the DFTs of xn and yn respectively then the Plancherel theorem states:
Periodicity
The shift theorem
Circular convolution theorem and cross-correlation theorem
The convolution theorem for the continuous and discrete time Fourier transforms indicates that a
convolution of two infinite sequences can be obtained as the inverse transform of the product of the
individual transforms. With sequences and transforms of length N, a circularity arises:
Convolution theorem duality
The unitary DFT
Another way of looking at the DFT is to note that in the above discussion, the DFT can be expressed as
a Vandermonde matrix:
Where ,
is a primitive Nth root of unity. The inverse transform is then given by the inverse of the above matrix:
With unitary normalization constants1/squrt(N), the DFT becomes a unitary transformation, defined by a
unitary matrix:
where det() is the determinant function. The determinant is the product of the eigenvalues, which are always±1 or ±I as
described below. In a real vector space, a unitary transformation can be thought of as simply a rigid rotation of the
coordinate system, and all of the properties of a rigid rotation can be found in the unitary DFT
Expressing the inverse DFT in terms of the DFT
A useful property of the DFT is that the inverse DFT can be easily expressed in terms of the
(forward) DFT, via several well-known "tricks". (For example, in computations, it is often
convenient to only implement a fast Fourier transform corresponding to one transform direction and
then to get the other transform direction from the first.)
First, we can compute the inverse DFT by reversing the inputs
(As usual, the subscripts are interpreted modulo N; thus, for n = 0, we have xN − 0 = x0.)
Second, one can also conjugate the inputs and outputs:
Third, a variant of this conjugation trick, which is sometimes preferable because it requires no
modification of the data values, involves swapping real and imaginary parts (which can be done on a
computer simply by modifying pointers). Define swap(xn) as xn with its real and imaginary parts
swapped—that is,
The real-input DFT
The importance of the phase in 2-D DFT. Image reconstruction from amplitude or phase only.
The Fourier transform of a sequence is, in general, complex-valued, and the unique representation of a sequence
in the Fourier transform domain requires both the phase and the magnitude of the Fourier transform. In various
contexts it is often desirable to reconstruct a signal from only partial domain information. Consider a 2-D
sequence
It has been observed that a straightforward signal synthesis from the Fourier transform phase Φ(u,v) alone, often
captures most of the intelligibility of the original image f (x, y)
FAST FOURIER TRANSFORM
Basically, the computational problem for the DFT is to compute the sequence {X(k)} of N complex-
valued numbers given another sequence of data {x(n)} of length N, according to the formula
In general, the data sequence x(n) is also assumed to be complex valued. Similarly, The IDFT becomes
Direct computation of the DFT is basically inefficient primarily because it does not exploit the
symmetry and periodicity properties of the phase factor WN. In particular, these two properties are :
SEPARABLE IMAGE TRANSFORMS
THE DISCRETE COSINE TRANSFORM (DCT)
1. One dimensional signals
This is a transform that is similar to the Fourier transform in the sense that the new independent variable
represents again frequency. The DCT is defined below.
with a(u) parameter that is defined below.
The inverse DCT (IDCT) is defined below.
2.Two dimensional signals (images)
For 2-D signals it is defined as
a(u) is defined as above and u,v =0,1…….N-1
Properties of the DCT transform
 The DCT is a real transform. This property makes it attractive in comparison to the Fourier transform.
 The DCT has excellent energy compaction properties. For that reason it is widely used in image compression
standards (as for example JPEG standards).
 There are fast algorithms to compute the DCT, similar to the FFT for computing the DFT.
WALSH TRANSFORM (WT)
1. One dimensional signals
2. Two dimensional signals
3. Properties of the Walsh Transform
 Unlike the Fourier transform, which is based on trigonometric terms, the Walsh transform consists
of a series expansion of basis functions whose values are only -1or 1 and they have the form of
square waves. These functions can be implemented more efficiently in a digital environment than
the exponential basis functions of the Fourier transform.
 The forward and inverse Walsh kernels are identical except for a constant multiplicative factor of
1/N for 1-D signals.
 The forward and inverse Walsh kernels are identical for 2-D signals. This is because the array
formed by the kernels is a symmetric matrix having orthogonal rows and columns, so its inverse
array is the same as the array itself.
 The concept of frequency exists also in Walsh transform basis functions. We can think of frequency
as the number of zero crossings or the number of transitions in a basis vector and we call this
number sequence. The Walsh transform exhibits the property of energy compaction as all the
transforms that we are currently studying.
 For the fast computation of the Walsh transform there exists an algorithm called Fast Walsh
Transform (FWT). This is a straightforward modification of the FFT. Advise any introductory book
for your own interest.
HADAMARD TRANSFORM (HT)
In a similar form as the Walsh transform, the 2-D Hadamard transform is defined as follows
Properties of the Hadamard Transform
KARHUNEN-LOEVE (KLT) or HOTELLING TRANSFORM
The Karhunen-Loeve Transform or KLT was originally introduced as a series expansion for continuous random
processes by Karhunen and Loeve. For discrete signals Hotelling first studied what was called a method of principal
components, which is the discrete equivalent of the KL series expansion. Consequently, the KL transform is also called
the Hotelling transform or the method of principal components. The term KLT is the most widely used.
1.The case of many realizations of a signal or image (Gonzalez/Woods)
The concepts of eigenvalue and eigevector are necessary to understand the KL transform.
If C is a matrix of dimension n × n , then a scalar λ is called an eigenvalue of C if there is a
nonzero vector e in Rˆn such that
Ce =λe
The vector e is called an eigenvector of the matrix C corresponding to the eigenvalue λ
Properties of the Karhunen-Loeve transform
Despite its favorable theoretical properties, the KLT is not used in practice for the following reasons.
 Its basis functions depend on the covariance matrix of the image, and hence they have to recomputed
and transmitted for every image.
 Perfect decorrelation is not possible, since images can rarely be modelled as realizations of ergodic
fields.
 There are no fast computational algorithms for its implementation.

More Related Content

PDF
Dft and its applications
PDF
Ch1 representation of signal pg 130
PDF
Ch7 noise variation of different modulation scheme pg 63
PPTX
Communication system 1 chapter 2-part-1
PPT
Digital Image Processing_ ch3 enhancement freq-domain
PPTX
Transforms
PPTX
DFT and its properties
Dft and its applications
Ch1 representation of signal pg 130
Ch7 noise variation of different modulation scheme pg 63
Communication system 1 chapter 2-part-1
Digital Image Processing_ ch3 enhancement freq-domain
Transforms
DFT and its properties

What's hot (18)

PDF
An Intuitive Approach to Fourier Optics
PDF
Ch2 probability and random variables pg 81
PDF
Algorithm to Generate Wavelet Transform from an Orthogonal Transform
PDF
Fourier Analysis
PDF
13 fourierfiltrationen
PPTX
PPT
Image trnsformations
PDF
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
PDF
fourier representation of signal and systems
PPTX
Fourier transform
PPTX
Fourier transforms
PPTX
The discrete fourier transform (dsp) 4
PPT
Chapter 5 Image Processing: Fourier Transformation
PDF
Dsp U Lec10 DFT And FFT
PPTX
Dft,fft,windowing
PPTX
Fourier Transform
PDF
Lecture 9
PDF
zeropadding
An Intuitive Approach to Fourier Optics
Ch2 probability and random variables pg 81
Algorithm to Generate Wavelet Transform from an Orthogonal Transform
Fourier Analysis
13 fourierfiltrationen
Image trnsformations
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
fourier representation of signal and systems
Fourier transform
Fourier transforms
The discrete fourier transform (dsp) 4
Chapter 5 Image Processing: Fourier Transformation
Dsp U Lec10 DFT And FFT
Dft,fft,windowing
Fourier Transform
Lecture 9
zeropadding
Ad

Similar to Chapter no4 image transform3 (20)

PPT
Unit-1.B IMAGE TRANSFORMATIONS and fundamental.ppt
PPTX
Transformimet e sinjaleve numerike duke perdorur transformimet
PPTX
PPTX
Sonali Naik AK Jain book Image Transformation
PPTX
Sonali subhash Naik(A K Jain) 5.1 - 5.5.pptx
PDF
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
PPT
Unit - i-Image Transformations Gonzalez.ppt
PPT
PDF
DFT,DCT TRANSFORMS.pdf
PDF
Color image analyses using four deferent transformations
PDF
Color image analyses using four deferent transformations
PPT
Ch15 transforms
PPT
Image transforms 2
PDF
Lecture 15 DCT, Walsh and Hadamard Transform
PPTX
Filtering in frequency domain
PDF
Lecture 13 (Usage of Fourier transform in image processing)
PPTX
imagetransforms1-210417050321.pptx
PPTX
Image TransformsXSsSsSsSsSsSsSsSccd.pptx
PDF
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Unit-1.B IMAGE TRANSFORMATIONS and fundamental.ppt
Transformimet e sinjaleve numerike duke perdorur transformimet
Sonali Naik AK Jain book Image Transformation
Sonali subhash Naik(A K Jain) 5.1 - 5.5.pptx
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
Unit - i-Image Transformations Gonzalez.ppt
DFT,DCT TRANSFORMS.pdf
Color image analyses using four deferent transformations
Color image analyses using four deferent transformations
Ch15 transforms
Image transforms 2
Lecture 15 DCT, Walsh and Hadamard Transform
Filtering in frequency domain
Lecture 13 (Usage of Fourier transform in image processing)
imagetransforms1-210417050321.pptx
Image TransformsXSsSsSsSsSsSsSsSccd.pptx
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Ad

More from ShardaSalunkhe1 (7)

PPTX
Introduction to Cyclic Code with example.pptx
PPTX
Lecture No.6 Digital circuits.pptx
PPTX
number system1.pptx
PPTX
Chap6 image restoration
PPT
Error correction and detection th
PPT
Chap5 imange enhancemet
PPT
Digital modulation techniques sys
Introduction to Cyclic Code with example.pptx
Lecture No.6 Digital circuits.pptx
number system1.pptx
Chap6 image restoration
Error correction and detection th
Chap5 imange enhancemet
Digital modulation techniques sys

Recently uploaded (20)

PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Sustainable Sites - Green Building Construction
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Geodesy 1.pptx...............................................
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPT
Mechanical Engineering MATERIALS Selection
PPT
Project quality management in manufacturing
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Well-logging-methods_new................
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Model Code of Practice - Construction Work - 21102022 .pdf
Foundation to blockchain - A guide to Blockchain Tech
OOP with Java - Java Introduction (Basics)
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Sustainable Sites - Green Building Construction
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Geodesy 1.pptx...............................................
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Mechanical Engineering MATERIALS Selection
Project quality management in manufacturing
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
CH1 Production IntroductoryConcepts.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Well-logging-methods_new................
bas. eng. economics group 4 presentation 1.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT

Chapter no4 image transform3

  • 2. BASIC GEOMETRIC TRANSFORMATIONS Transform theory plays a fundamental role in image processing, as working with the transform of an image instead of the image itself may give us more insight into the properties of the image. Two dimensional transforms are applied to image enhancement, restoration, encoding and description.
  • 3. 1.UNITARY TRANSFORMS a. One dimensional signals the matrix T is called unitary, and the transformation is called unitary as well. It can be proven (how?) that the columns (or rows) of an N*N unitary matrix are orthonormal and therefore, form a complete set of basis vectors in the N- dimensional vector space.
  • 5. b. Two dimensional signals (images) As a one dimensional signal can be represented by an orthonormal set of basis vectors, an image can also be expanded in terms of a discrete set of basis arrays called basis images through a two dimensional (image) transform. where, again T(u,v,x,y) and I(x,y,u,v) are called the forward and inverse transformation kernels, respectively. The forward kernel is said to be separable if T(u,v,x,y)=T1(u,x),T1(v,y) The same comments are valid for the inverse kernel. If the kernel T(u,v,x,y) of an image transform is separable and symmetric, then the
  • 7. Fundamental properties of unitary transforms 1 The property of energy preservation
  • 8. 2. The property of energy compaction Most unitary transforms pack a large fraction of the energy of the image into relatively few of the transform coefficients. This means that relatively few of the transform coefficients have significant values and these are the coefficients that are close to the origin (small index coefficients). This property is very useful for compression purposes
  • 9. THE TWO DIMENSIONAL FOURIER TRANSFORM The Fourier transform is extended to a function f (x, y) of two variables. If f (x, y) is continuous and integrable and F(u,v) is integrable, the following Fourier transform pair exists
  • 10. 2. Discrete space and continuous frequency
  • 11. 3. Discrete space and discrete frequency: The two dimensional Discrete Fourier Transform (2-D DFT) If f (x, y) is an M ×N array, such as that obtained by sampling a continuous function of two dimensions at dimensions M and N on a rectangular grid, then its two dimensional Discrete Fourier transform (DFT) is the array given by
  • 12. 1. Properties of the 2-D DFT Most of them are straightforward extensions of the properties of the 1-D Fourier Transform. Advise any introductory book on Image Processing. Completeness The discrete Fourier transform is an invertible, linear transformation with C denoting the set of complex numbers. In other words, for any N > 0, an N-dimensional complex vector has a DFT and an IDFT which are in turn N-dimensional complex vectors. Orthogonally
  • 13. The Plancherel theorem and Parseval's theorem If Xk and Yk are the DFTs of xn and yn respectively then the Plancherel theorem states:
  • 15. Circular convolution theorem and cross-correlation theorem The convolution theorem for the continuous and discrete time Fourier transforms indicates that a convolution of two infinite sequences can be obtained as the inverse transform of the product of the individual transforms. With sequences and transforms of length N, a circularity arises: Convolution theorem duality
  • 16. The unitary DFT Another way of looking at the DFT is to note that in the above discussion, the DFT can be expressed as a Vandermonde matrix: Where , is a primitive Nth root of unity. The inverse transform is then given by the inverse of the above matrix: With unitary normalization constants1/squrt(N), the DFT becomes a unitary transformation, defined by a unitary matrix:
  • 17. where det() is the determinant function. The determinant is the product of the eigenvalues, which are always±1 or ±I as described below. In a real vector space, a unitary transformation can be thought of as simply a rigid rotation of the coordinate system, and all of the properties of a rigid rotation can be found in the unitary DFT
  • 18. Expressing the inverse DFT in terms of the DFT A useful property of the DFT is that the inverse DFT can be easily expressed in terms of the (forward) DFT, via several well-known "tricks". (For example, in computations, it is often convenient to only implement a fast Fourier transform corresponding to one transform direction and then to get the other transform direction from the first.) First, we can compute the inverse DFT by reversing the inputs (As usual, the subscripts are interpreted modulo N; thus, for n = 0, we have xN − 0 = x0.) Second, one can also conjugate the inputs and outputs: Third, a variant of this conjugation trick, which is sometimes preferable because it requires no modification of the data values, involves swapping real and imaginary parts (which can be done on a computer simply by modifying pointers). Define swap(xn) as xn with its real and imaginary parts swapped—that is,
  • 20. The importance of the phase in 2-D DFT. Image reconstruction from amplitude or phase only. The Fourier transform of a sequence is, in general, complex-valued, and the unique representation of a sequence in the Fourier transform domain requires both the phase and the magnitude of the Fourier transform. In various contexts it is often desirable to reconstruct a signal from only partial domain information. Consider a 2-D sequence It has been observed that a straightforward signal synthesis from the Fourier transform phase Φ(u,v) alone, often captures most of the intelligibility of the original image f (x, y)
  • 21. FAST FOURIER TRANSFORM Basically, the computational problem for the DFT is to compute the sequence {X(k)} of N complex- valued numbers given another sequence of data {x(n)} of length N, according to the formula In general, the data sequence x(n) is also assumed to be complex valued. Similarly, The IDFT becomes Direct computation of the DFT is basically inefficient primarily because it does not exploit the symmetry and periodicity properties of the phase factor WN. In particular, these two properties are :
  • 22. SEPARABLE IMAGE TRANSFORMS THE DISCRETE COSINE TRANSFORM (DCT) 1. One dimensional signals This is a transform that is similar to the Fourier transform in the sense that the new independent variable represents again frequency. The DCT is defined below. with a(u) parameter that is defined below. The inverse DCT (IDCT) is defined below.
  • 23. 2.Two dimensional signals (images) For 2-D signals it is defined as a(u) is defined as above and u,v =0,1…….N-1 Properties of the DCT transform  The DCT is a real transform. This property makes it attractive in comparison to the Fourier transform.  The DCT has excellent energy compaction properties. For that reason it is widely used in image compression standards (as for example JPEG standards).  There are fast algorithms to compute the DCT, similar to the FFT for computing the DFT.
  • 24. WALSH TRANSFORM (WT) 1. One dimensional signals
  • 26. 3. Properties of the Walsh Transform  Unlike the Fourier transform, which is based on trigonometric terms, the Walsh transform consists of a series expansion of basis functions whose values are only -1or 1 and they have the form of square waves. These functions can be implemented more efficiently in a digital environment than the exponential basis functions of the Fourier transform.  The forward and inverse Walsh kernels are identical except for a constant multiplicative factor of 1/N for 1-D signals.  The forward and inverse Walsh kernels are identical for 2-D signals. This is because the array formed by the kernels is a symmetric matrix having orthogonal rows and columns, so its inverse array is the same as the array itself.  The concept of frequency exists also in Walsh transform basis functions. We can think of frequency as the number of zero crossings or the number of transitions in a basis vector and we call this number sequence. The Walsh transform exhibits the property of energy compaction as all the transforms that we are currently studying.  For the fast computation of the Walsh transform there exists an algorithm called Fast Walsh Transform (FWT). This is a straightforward modification of the FFT. Advise any introductory book for your own interest.
  • 27. HADAMARD TRANSFORM (HT) In a similar form as the Walsh transform, the 2-D Hadamard transform is defined as follows
  • 28. Properties of the Hadamard Transform
  • 29. KARHUNEN-LOEVE (KLT) or HOTELLING TRANSFORM The Karhunen-Loeve Transform or KLT was originally introduced as a series expansion for continuous random processes by Karhunen and Loeve. For discrete signals Hotelling first studied what was called a method of principal components, which is the discrete equivalent of the KL series expansion. Consequently, the KL transform is also called the Hotelling transform or the method of principal components. The term KLT is the most widely used. 1.The case of many realizations of a signal or image (Gonzalez/Woods) The concepts of eigenvalue and eigevector are necessary to understand the KL transform. If C is a matrix of dimension n × n , then a scalar λ is called an eigenvalue of C if there is a nonzero vector e in Rˆn such that Ce =λe The vector e is called an eigenvector of the matrix C corresponding to the eigenvalue λ
  • 30. Properties of the Karhunen-Loeve transform Despite its favorable theoretical properties, the KLT is not used in practice for the following reasons.  Its basis functions depend on the covariance matrix of the image, and hence they have to recomputed and transmitted for every image.  Perfect decorrelation is not possible, since images can rarely be modelled as realizations of ergodic fields.  There are no fast computational algorithms for its implementation.