SlideShare a Scribd company logo
transform as basis expansion
DFT and DCT basis
1D-DFT
real(A) imag(A)
1D-DCT
AN=32
2-D transforms
2D-DFT and 2D-DCT are separable transforms.
separable 2-D transforms
Symmetric 2D separable transforms can
be expressed with the notations of its
corresponding 1D transform.
We only need to discuss 1D
transforms
two properties of DFT and DCT
 Orthonormal (Eq 5.5 in Jain)
: no two basis represent the same information in the image
 Completeness (Eq 5.6 in Jain)
: all information in the image are represented in the set of basis
functions
minimized when
Exercise
 How do we decompose this picture?
DCT2








11
11
2
1
2A








11
11






??
??
DCT2 basis image
DCT2
=-1
=1
What if black=0, does the transform coefficients look similar?






10
00=0
=1
?
Unitary Transforms
This transform is called “unitary” when A is a unitary matrix,
“orthogonal” when A is unitary and real.
The Hermitian of matrix A is:
 Two properties implied by construction
 Orthonormality
 Completeness
A linear transform:
Exercise
 Are these transform matrixes unitary/orthogonal?






1
1
2
1
j
j






 2
2
j
j






 

cossin
sincos













2
1
2
1
2
1
2
1






21
32
properties of 1-D unitary transform
 energy conservation
 rotation invariance
 the angles between vectors are preserved
 unitary transform: rotate a vector in Rn,
i.e., rotate the basis coordinates
observations about unitary transform
 Energy Compaction
 Many common unitary transforms tend to pack a large fraction of
signal energy into just a few transform coefficients
 De-correlation
 Highly correlated input elements  quite uncorrelated output
coefficients
 Covariance matrix
display scale: log(1+abs(g))
linear display scale: g
f: columns of image pixels
one question and two more observations
 transforms so far are data-independent
 transform basis/filters do not depend on the signal being
processed
 “optimal” should be defined in a statistical sense so
that the transform would work well with many images
 signal statistics should play an important role
 Is there a transform with
 best energy compaction
 maximum de-correlation
 is also unitary… ?
review: correlation after a linear transform
 x is a zero-mean random vector in
 the covariance (autocorrelation) matrix of x
 Rx(i,j) encodes the correlation between xi and xj
 Rx is a diagonal matrix iff. all N random variables in x are
uncorrelated
 apply a linear transform:
 What is the correlation matrix for y ?
transform with maximum energy compaction
proof. maximum energy compaction
a*
u are the eigen vectors of Rx
The Desirables for Image Transforms
 Theory
 Inverse transform available
 Energy conservation (Parsevell)
 Good for compacting energy
 Orthonormal, complete basis
 (sort of) shift- and rotation invariant
 Transform basis signal-independent
 Implementation
 Real-valued
 Separable
 Fast to compute w. butterfly-like structure
 Same implementation for forward and
inverse transform
DFT KLT
X
X
?
X
X
x
X
X
X
DCT
X
X
?
X
X
X
X
X
X
X
X
X
X?
X
x
x
x
Walsh-Hadamard Transform
slant transform
Nassiri et. al, “Texture Feature Extraction using Slant-Hadamard Transform”
energy compaction comparison
implementation note: block transform
 similar to STFT (short-time Fourier transform)
 partition a NxN image into mxn sub-images
 save computation: O(N) instead of O(NlogN)
 loose long-range correlation
8x8 DCT coefficients
applications of transforms
 enhancement
 (non-universal) compression
 feature extraction and representation
 pattern recognition, e.g., eigen faces
 dimensionality reduction
 analyze the principal (“dominating”) components
Image Compression
where P is average power and A is RMS amplitude.
Gabor filters
 Gaussian windowed Fourier Transform
 Make convolution kernels from product of Fourier
basis images and Gaussians
£ =
Odd
(sin)
Even
(cos)
Frequency
Example: Filter Responses
from Forsyth & Ponce
Filter
bank
Input
image
one step forward from dirac …
 Split the frequency in half means we can downsample by 2 to
reconstruct upsample by 2.
 Filter to remove unwanted parts of the images and add
 Basic building block: Two-channel filter bank
t
f
x x
analysis synthesisprocessing
h h
g g
orthogonal filter banks: Haar basis
DWT
 Iterate only on the lowpass channel
t
f
summary
 unitary transforms
 theory revisited
 the quest for optimal transform
 example transforms
DFT, DCT, KLT, Hadamard, Slant, Haar, …
 multire-solution analysis and wavelets
 applications
 compression
 feature extraction and representation
 image matching (digits, faces, fingerprints)
10 yrs
1 yr

More Related Content

What's hot

Frequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesFrequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital Images
Upendra Pratap Singh
 
03 image transform
03 image transform03 image transform
03 image transform
Rumah Belajar
 
Filtering in frequency domain
Filtering in frequency domainFiltering in frequency domain
Filtering in frequency domain
GowriLatha1
 
Digital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainDigital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency Domain
Mostafa G. M. Mostafa
 
Image transforms
Image transformsImage transforms
Image transforms
11mr11mahesh
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processing
Anuj Arora
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
Md Shabir Alam
 
Lec 07 image enhancement in frequency domain i
Lec 07 image enhancement in frequency domain iLec 07 image enhancement in frequency domain i
Lec 07 image enhancement in frequency domain iAli Hassan
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
Mostafa G. M. Mostafa
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformationsJohn Williams
 
6.frequency domain image_processing
6.frequency domain image_processing6.frequency domain image_processing
6.frequency domain image_processing
Nashid Alam
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier Transformation
Varun Ojha
 
Wavelet transform in image compression
Wavelet transform in image compressionWavelet transform in image compression
Wavelet transform in image compression
jeevithaelangovan
 
Active contour segmentation
Active contour segmentationActive contour segmentation
Active contour segmentation
Nishant Jain
 
Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filter
arulraj121
 
Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domainAshish Kumar
 
Noise filtering
Noise filteringNoise filtering
Noise filteringAlaa Ahmed
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
asodariyabhavesh
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
AnupriyaDurai
 

What's hot (20)

Frequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesFrequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital Images
 
03 image transform
03 image transform03 image transform
03 image transform
 
Filtering in frequency domain
Filtering in frequency domainFiltering in frequency domain
Filtering in frequency domain
 
Digital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainDigital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency Domain
 
Image transforms
Image transformsImage transforms
Image transforms
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processing
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
Lec 07 image enhancement in frequency domain i
Lec 07 image enhancement in frequency domain iLec 07 image enhancement in frequency domain i
Lec 07 image enhancement in frequency domain i
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformations
 
6.frequency domain image_processing
6.frequency domain image_processing6.frequency domain image_processing
6.frequency domain image_processing
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier Transformation
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Wavelet transform in image compression
Wavelet transform in image compressionWavelet transform in image compression
Wavelet transform in image compression
 
Active contour segmentation
Active contour segmentationActive contour segmentation
Active contour segmentation
 
Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filter
 
Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domain
 
Noise filtering
Noise filteringNoise filtering
Noise filtering
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 

Similar to Image transforms 2

Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
Simranjit Singh
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
Image and Audio Signal Filtration with Discrete Heap Transforms
Image and Audio Signal Filtration with Discrete Heap TransformsImage and Audio Signal Filtration with Discrete Heap Transforms
Image and Audio Signal Filtration with Discrete Heap Transforms
mathsjournal
 
Chapter no4 image transform3
Chapter no4 image transform3Chapter no4 image transform3
Chapter no4 image transform3
ShardaSalunkhe1
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
BHAGYAPRASADBUGGE
 
Conversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable modelsConversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable models
Jyoti Singh
 
3rd unit.pptx
3rd unit.pptx3rd unit.pptx
3rd unit.pptx
ssuser0bf6a8
 
PERFORMANCE EVALUATION OF DIFFERENT TECHNIQUES FOR TEXTURE CLASSIFICATION
PERFORMANCE EVALUATION OF DIFFERENT TECHNIQUES FOR TEXTURE CLASSIFICATION PERFORMANCE EVALUATION OF DIFFERENT TECHNIQUES FOR TEXTURE CLASSIFICATION
PERFORMANCE EVALUATION OF DIFFERENT TECHNIQUES FOR TEXTURE CLASSIFICATION
cscpconf
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting schemeSubhashini Subramanian
 
Some Engg. Applications of Matrices and Partial Derivatives
Some Engg. Applications of Matrices and Partial DerivativesSome Engg. Applications of Matrices and Partial Derivatives
Some Engg. Applications of Matrices and Partial Derivatives
SanjaySingh011996
 
Performance Analysis of Image Enhancement Using Dual-Tree Complex Wavelet Tra...
Performance Analysis of Image Enhancement Using Dual-Tree Complex Wavelet Tra...Performance Analysis of Image Enhancement Using Dual-Tree Complex Wavelet Tra...
Performance Analysis of Image Enhancement Using Dual-Tree Complex Wavelet Tra...
IJERD Editor
 
Discrete cosine transform
Discrete cosine transform   Discrete cosine transform
Discrete cosine transform
Rashmi Karkra
 
Lecture5-FEA.pdf
Lecture5-FEA.pdfLecture5-FEA.pdf
Lecture5-FEA.pdf
SHABANHADAYAT
 
Image Processing
Image ProcessingImage Processing
Image ProcessingTuyen Pham
 
20070823
2007082320070823
20070823neostar
 
Seismic data processing lecture 3
Seismic data processing lecture 3Seismic data processing lecture 3
Seismic data processing lecture 3
Amin khalil
 

Similar to Image transforms 2 (20)

Lect5 v2
Lect5 v2Lect5 v2
Lect5 v2
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Image and Audio Signal Filtration with Discrete Heap Transforms
Image and Audio Signal Filtration with Discrete Heap TransformsImage and Audio Signal Filtration with Discrete Heap Transforms
Image and Audio Signal Filtration with Discrete Heap Transforms
 
Chapter no4 image transform3
Chapter no4 image transform3Chapter no4 image transform3
Chapter no4 image transform3
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
 
Conversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable modelsConversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable models
 
EE8120_Projecte_15
EE8120_Projecte_15EE8120_Projecte_15
EE8120_Projecte_15
 
3rd unit.pptx
3rd unit.pptx3rd unit.pptx
3rd unit.pptx
 
PERFORMANCE EVALUATION OF DIFFERENT TECHNIQUES FOR TEXTURE CLASSIFICATION
PERFORMANCE EVALUATION OF DIFFERENT TECHNIQUES FOR TEXTURE CLASSIFICATION PERFORMANCE EVALUATION OF DIFFERENT TECHNIQUES FOR TEXTURE CLASSIFICATION
PERFORMANCE EVALUATION OF DIFFERENT TECHNIQUES FOR TEXTURE CLASSIFICATION
 
Dynamics
DynamicsDynamics
Dynamics
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting scheme
 
Some Engg. Applications of Matrices and Partial Derivatives
Some Engg. Applications of Matrices and Partial DerivativesSome Engg. Applications of Matrices and Partial Derivatives
Some Engg. Applications of Matrices and Partial Derivatives
 
Performance Analysis of Image Enhancement Using Dual-Tree Complex Wavelet Tra...
Performance Analysis of Image Enhancement Using Dual-Tree Complex Wavelet Tra...Performance Analysis of Image Enhancement Using Dual-Tree Complex Wavelet Tra...
Performance Analysis of Image Enhancement Using Dual-Tree Complex Wavelet Tra...
 
Discrete cosine transform
Discrete cosine transform   Discrete cosine transform
Discrete cosine transform
 
3 D Graphics
3 D Graphics3 D Graphics
3 D Graphics
 
Lecture5-FEA.pdf
Lecture5-FEA.pdfLecture5-FEA.pdf
Lecture5-FEA.pdf
 
Image Processing
Image ProcessingImage Processing
Image Processing
 
20070823
2007082320070823
20070823
 
Seismic data processing lecture 3
Seismic data processing lecture 3Seismic data processing lecture 3
Seismic data processing lecture 3
 

Recently uploaded

Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
obonagu
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
bhadouriyakaku
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
RicletoEspinosa1
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 

Recently uploaded (20)

Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 

Image transforms 2

  • 1. transform as basis expansion
  • 2. DFT and DCT basis 1D-DFT real(A) imag(A) 1D-DCT AN=32
  • 3. 2-D transforms 2D-DFT and 2D-DCT are separable transforms.
  • 4. separable 2-D transforms Symmetric 2D separable transforms can be expressed with the notations of its corresponding 1D transform. We only need to discuss 1D transforms
  • 5. two properties of DFT and DCT  Orthonormal (Eq 5.5 in Jain) : no two basis represent the same information in the image  Completeness (Eq 5.6 in Jain) : all information in the image are represented in the set of basis functions minimized when
  • 6. Exercise  How do we decompose this picture? DCT2         11 11 2 1 2A         11 11       ?? ?? DCT2 basis image DCT2 =-1 =1 What if black=0, does the transform coefficients look similar?       10 00=0 =1 ?
  • 7. Unitary Transforms This transform is called “unitary” when A is a unitary matrix, “orthogonal” when A is unitary and real. The Hermitian of matrix A is:  Two properties implied by construction  Orthonormality  Completeness A linear transform:
  • 8. Exercise  Are these transform matrixes unitary/orthogonal?       1 1 2 1 j j        2 2 j j          cossin sincos              2 1 2 1 2 1 2 1       21 32
  • 9. properties of 1-D unitary transform  energy conservation  rotation invariance  the angles between vectors are preserved  unitary transform: rotate a vector in Rn, i.e., rotate the basis coordinates
  • 10. observations about unitary transform  Energy Compaction  Many common unitary transforms tend to pack a large fraction of signal energy into just a few transform coefficients  De-correlation  Highly correlated input elements  quite uncorrelated output coefficients  Covariance matrix display scale: log(1+abs(g)) linear display scale: g f: columns of image pixels
  • 11. one question and two more observations  transforms so far are data-independent  transform basis/filters do not depend on the signal being processed  “optimal” should be defined in a statistical sense so that the transform would work well with many images  signal statistics should play an important role  Is there a transform with  best energy compaction  maximum de-correlation  is also unitary… ?
  • 12. review: correlation after a linear transform  x is a zero-mean random vector in  the covariance (autocorrelation) matrix of x  Rx(i,j) encodes the correlation between xi and xj  Rx is a diagonal matrix iff. all N random variables in x are uncorrelated  apply a linear transform:  What is the correlation matrix for y ?
  • 13. transform with maximum energy compaction
  • 14. proof. maximum energy compaction a* u are the eigen vectors of Rx
  • 15. The Desirables for Image Transforms  Theory  Inverse transform available  Energy conservation (Parsevell)  Good for compacting energy  Orthonormal, complete basis  (sort of) shift- and rotation invariant  Transform basis signal-independent  Implementation  Real-valued  Separable  Fast to compute w. butterfly-like structure  Same implementation for forward and inverse transform DFT KLT X X ? X X x X X X DCT X X ? X X X X X X X X X X? X x x x
  • 17. slant transform Nassiri et. al, “Texture Feature Extraction using Slant-Hadamard Transform”
  • 19. implementation note: block transform  similar to STFT (short-time Fourier transform)  partition a NxN image into mxn sub-images  save computation: O(N) instead of O(NlogN)  loose long-range correlation 8x8 DCT coefficients
  • 20. applications of transforms  enhancement  (non-universal) compression  feature extraction and representation  pattern recognition, e.g., eigen faces  dimensionality reduction  analyze the principal (“dominating”) components
  • 21. Image Compression where P is average power and A is RMS amplitude.
  • 22. Gabor filters  Gaussian windowed Fourier Transform  Make convolution kernels from product of Fourier basis images and Gaussians £ = Odd (sin) Even (cos) Frequency
  • 23. Example: Filter Responses from Forsyth & Ponce Filter bank Input image
  • 24.
  • 25. one step forward from dirac …  Split the frequency in half means we can downsample by 2 to reconstruct upsample by 2.  Filter to remove unwanted parts of the images and add  Basic building block: Two-channel filter bank t f x x analysis synthesisprocessing h h g g
  • 27. DWT  Iterate only on the lowpass channel t f
  • 28. summary  unitary transforms  theory revisited  the quest for optimal transform  example transforms DFT, DCT, KLT, Hadamard, Slant, Haar, …  multire-solution analysis and wavelets  applications  compression  feature extraction and representation  image matching (digits, faces, fingerprints)