application study of known and novel...

25
Application Study of Known and Novel Transforms Ekapol Chuangsuwanich and Peter A. Milder Electrical and Computer Engineering Carnegie Mellon University

Upload: others

Post on 04-Mar-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Application Study of Known and Novel Transforms

Ekapol Chuangsuwanich and Peter A. Milder

Electrical and Computer EngineeringCarnegie Mellon University

Page 2: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Generic next neighbor (GNN)DTTs

Chebyshevpolynomials Orthogonal Properties of DTTs in image processing applications are well-studied

polynomialsWe aim to study related GNN transforms in this domain

Introduction

Page 3: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Overview

Background

Approach

Experimental Results

Conclusions

Page 4: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Generic Next Neighbor Signal Model[Pueschel and Moura, 2006]

Generalized Shift Model

Associated Orthogonal Polynomial Model

(Visualization from [Pueschel and Moura, 2006])

Page 5: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

GNN: Relationship with DTTs

GNNs:

DTTs:

(Visualizations and shift matrices from [Pueschel and Moura, 2006])

Page 6: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Overview

Background

Approach

Experimental Results

Conclusions

Page 7: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

GNNs and Associated Polynomials

Recall: DTTs associated with Chebyshev polynomials

( expressed in terms of )

Idea: examine GNN transforms associated with other well-known polynomials

Page 8: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

PolynomialsHermite:

Laguerre:

Page 9: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Polynomials

Legendre:

Page 10: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Image Processing

256x256 image with 16x16 blockingWhy blocking?

Used in JPEG (8x8 blocking)GNN limitations

Apply a 16x16 Transform on eachblock separately

256

256

116

16 2 3 1617 18 19 32

241 242 243 256

Page 11: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Energy Compaction & Reconstruction

Let EL,K be the energy ofthe first L x L values of the Kth transformed blockEnergy compaction of the whole image due to first L x L values is

Reconstruction is also done by keeping the first L x L values of each block.

Kth block

Transformed image

L x L first values kept

L

L

=

== 256

1,16

256

1,

KK

KKL

L

E

EE

Page 12: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Images used : Tree, Desk, Book, and …

Page 13: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Overview

Background

Approach

Experimental Results

Conclusions

Page 14: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Pure Frequencies : 1-D DCT DCs

0 50 100 150 200 2500.04

0.05

0.06

0.07

0.08DCT1

0 50 100 150 200 2500.04

0.05

0.06

0.07

0.08DCT2

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DCT3

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DCT4

0 50 100 150 200 2500.04

0.05

0.06

0.07

0.08DCT5

0 50 100 150 200 2500.04

0.05

0.06

0.07

0.08DCT6

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DCT7

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DCT8

Page 15: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Pure Frequencies : 1-D DST DCs

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DST1

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DST2

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DST3

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DST4

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DST5

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DST6

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DST7

0 50 100 150 200 2500

0.02

0.04

0.06

0.08

0.1DST8

Page 16: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Pure Frequencies : 1-D GNN DCs

Hermite Laguerre

Legendre

Page 17: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Pure Frequencies : 2-D

DCT2 Hermite

Page 18: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Pure Frequencies : 2-D

LegendreLaguerre

Page 19: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Energy Compaction

New transforms provide less compaction than DCT-2, but compare with DST-7

Page 20: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Image Reconstruction

Quality of reconstruction matches energy compaction

Blocking has no effect on DCT-2DCT-2 gains resolution as more samples are kept

Page 21: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Overview

Background

Approach

Experimental Results

Conclusions

Page 22: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Conclusion

DCT-2 is still best suited for image compressionImmune to blocking effectsBest energy compaction

But…There are much more GNNs we have not tried.Other possible reconstruction schemes are possible. For example

Kth Block

L x L last values discarded

50 100 150 200 250

50

100

150

200

250

New scheme with the same number of points kept

50 100 150 200 250

50

100

150

200

250

DST7 with old scheme

Page 23: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

Questions?

Page 24: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

DST7

2 4 6 8 10 12 14 16

2

4

6

8

10

12

14

16

2 4 6 8 10 12 14 16

2

4

6

8

10

12

14

16

-500

0

500

1000

1500

2000

2500

0 50 100 150 200 250 3000

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

keep

Page 25: Application Study of Known and Novel Transformsusers.ece.cmu.edu/~pueschel/teaching/18-799F-CMU...Conclusion DCT-2 is still best suited for image compression Immune to blocking effects

DCT216

50 100 150 200 250

50

100

150

200

250

14

50 100 150 200 250

50

100

150

200

250

12

50 100 150 200 250

50

100

150

200

250

10

50 100 150 200 250

50

100

150

200

250

8

50 100 150 200 250

50

100

150

200

250

6

50 100 150 200 250

50

100

150

200

250

4

50 100 150 200 250

50

100

150

200

250

2

50 100 150 200 250

50

100

150

200

250