• Non ci sono risultati.

Wavelet Analysis in Signal and Image Processing

N/A
N/A
Protected

Academic year: 2021

Condividi "Wavelet Analysis in Signal and Image Processing"

Copied!
69
0
0

Testo completo

(1)

Wavelet Analysis in Signal and Image Processing

Jean-Pierre Gazeau

Laboratoire Astroparticules et Cosmologie CNRS–Universit´e Diderot Paris 7,

[email protected]

University of Palermo January 14, 2010

(2)

1. Introduction to wavelet analysis (a) Hilbert and Fourier : notations

(b) Time-frequency representation : the windowed Fourier or continuous Gabor transform (1D CGT)

(c) One-dimensional continuous wavelet transform (1D CWT) (d) Implementation and interpretation

(e) About the discretization problem

(f) One-dimensional discrete wavelet transform (1D DWT) (g) Multiresolution analysis

2. Wavelet analysis and image processing

(a) Two-dimensional continuous wavelet transform (2D CWT) (b) Two-dimensional discrete wavelet transform (2D DWT)

(3)

Lab session 1. 1-D Transform : time-frequency, time-scale 2. 2-D Transform : space parameters, angle-scale

(4)

REFERENCES

1. St´ephane Mallat A Wavelet Tour of Signal Processing Academic Press; 2nd edition (1999)

2. Ingrid Daubechies Ten Lectures on Wavelets SIAM 1992

3. S.T. Ali, J.P. Antoine, and JPG, Coherent states and wavelets, a mathemat- ical overview ,

Graduate Textbooks in Contemporary Physics (Springer, New York) (2000) 4. Matlab Wavelet Toolbox

(5)

FOURIER SIGNAL ANALYSIS

Signal :

t

“time”

→ s(t) ∈ C

Finite energy signal :

Z

−∞

|s(t)|

2

dt < ∞,

i.e.

s ∈ L

2

(R)

L

2

(R)

: Hilbert space with scalar product

hs

1

|s

2

i =

Z

−∞

s

1

(t)s

2

(t) dt

Fourier transform : frequency content of signal

ˆ

s(ω)(≡ (F s)(ω)) = 1

√ 2π

Z

−∞

e

−iωt

s(t) dt

(6)

RECONSTRUCTION

s(t)(≡ (F

−1

s)(t)) = ˆ 1

√ 2π

Z

−∞

e

iωt

s(ω) dω ˆ

PLANCHEREL

hs

1

|s

2

i =

Z

−∞

s

1

(t)s

2

(t) dt =

Z

−∞

ˆ

s

1

(ω)ˆ s

2

(ω) dω = hˆ s

1

|ˆ s

2

i

ENERGY CONSERVATION

ksk2 ≡ hs|si =

Z

−∞

|s(t)|2dt =

Z

−∞

s(ω)|2dω = kˆsk2

(7)

LIKE IN EUCLIDEAN GEOMETRY ...

Signal :

s(t) ≡

vector

|si

ou

|s(t)i

Elementary signal or atom : 1

e

iωt

continuous orthonormal basis vector

h 1

√ 2π e

iωt

| 1

√ 2π e

0t

i = 1 2π

Z

−∞

e

i(ω0−ω)t

dt

= δ(ω

0

− ω)

[orthonormality]

I =

Z

−∞

| 1

√ 2π e

iωt

ih 1

√ 2π e

iωt

| dω

[basis]

Euclidean decomposition in elementary signals :

|s(t)i =

Z

−∞

h 1

√ 2π e

iωt

|s(t)i

| {z }

Fourier transform

| 1

√ 2π e

iωt

i dω

(8)

Example of signal

0 500 1000 1500 2000 2500 3000 3500

−10

−8

−6

−4

−2 0 2 4

(9)

TIME-FREQUENCY REPRESENTATIONS (“Gaborets”) Ingredients: translation + modulation.

It is also called the windowed Fourier transform.

One chooses a probe or window

ψ

which is well localized in time and frequency at once, and which is normalized,

kψk = 1

. The probe is then translated in time and frequency, but its size is not modified (in modulus)

ψ(t) → ψ

b,ω=1

a

(t) = e

iat

ψ(t − b) = e

iωt

ψ(t − b)

The time-frequency transform is then :

s(t) → S(b, ω) = hψ

b,ω

|si =

Z

+∞

−∞

e

−iωt

ψ(t − b)s(t) dt.

It is easy to prove that there is conservation of the energy :

ksk

2

=

Z

+∞

−∞

|s(t)|

2

dt =

Z

+∞

−∞

Z

+∞

−∞

|S(b, ω)|

2

db dω 2π

def

= kSk

2

,

and so the reciprocity or reconstruction formula:

s(t)) =

Z

+∞

Z

+∞

S(b, ω)e

iωt

ψ(t − b) db dω

.

(10)

Vostok temperatures

500 1000 1500 2000 2500 3000

−10

−5 0 5

Time variations of Vostok temperatures

0.1 0.2 0.3 0.4

0 5

10

x 105

Fourier transform

Time−frequency representation of Vostok temperature

500 1000 1500 2000 2500 3000

20 40 60 80 100 120

(11)

Gabor Transform of the signal superpos.mat

500 1000 1500 2000

−2

−1 0 1 2

0.02 0.04 0.06 0.08 0.1 0.12

0 2

4 6

x 104

500 1000 1500 2000

20 40 60 80 100 120

(12)

CONTINUOUS WAVELET TRANSFORM Ingredients (transport + zoom)

1. A mother wavelet or probe

ψ(t) ∈ L

2

(R)

(a) well localized

(b) zero average :

R

−∞

ψ(t) dt = 0

more precisely :

0 < c

ψ

Z

−∞

| ˆ ψ(ω)|

2

|ω| =

Z

−∞

| ˆ ψ(−ω)|

2

|ω| < ∞

2. The (continuous) family of translated-dilated-contracted versions of the probe

ψ

:

 1

√ a ψ  t − b a



a∈R?+,b∈R

(13)

Then :

1. n1aψ t−ba o

a∈R?+,b∈R forms an overcomplete family in

L

2

(R)

, which means that any signal decomposes as

s(t) = 1 c

ψ

Z

−∞

db

Z

0

da

a

2

S(b, a) 1

√ a ψ  t − b a



2. The “coefficient”

S(b, a)

, as a function of the two continuous variables

b

(time) and

a

(scale), is the wavelet transform of the signal :

S(b, a) = h 1

√ a ψ  t − b a



|si

=

Z

−∞

√ 1

a ψ  t − b a



s(t) dt

=

Z

−∞

√ ae

iωb

ψ(aω)ˆ ˆ s(ω) dω

(14)

1. Equivalent to 1 and 2 : resolution of the unity

I = 1 c

ψ

Z

−∞

db

Z

0

da a

2

√ 1

a ψ  t − b a

  1

√ a ψ  t − b a



2. Equivalent to 1 and 2 and 3 : energy conservation

ksk

2

= 1 c

ψ

Z

−∞

db

Z

0

da

a

2

|S(b, a)|

2

(15)

In practice, one imposes additional constraints on

ψ

: 1. restrictions on the supports of

ψ

or

ψ ˆ

2. vanishing of higher order moments :

Z

−∞

t

p

ψ(t) dt = 0, p = 0, 1, . . . , p

max

Then the wavelet transform ignores polynomial components of the signal (i.e. most regular or smoother parts ) in order to enhance the most singular aspects.

WAVELET = SINGULARITY DETECTOR

(16)
(17)

EXAMPLES OF WAVELETS 1. Morlet wavelet : modulated gaussian

ψ

M

(t) = π

14



e

mt

− e

ω22m



e

t22

, ψ ˆ

M

(ω) = π

14



e

(ω−ωm)22

− e

ω22

e

ω22m

 ,

2. Mexican hat : second derivative of the gaussian, two first moments vanish

(

ψ

H

(t) = (1 − t

2

)e

t22

= −

dtd22

e

t22

,

ψ ˆ

H

(ω) = ω

2

e

ω22

.

(18)
(19)

0 500 1000 1500 2000 2500 3000 3500

−10

−5 0 5

CWT of the Vostok temperature data: 2sd der. of Gaussian, width=0.5

500 1000 1500 2000 2500 3000

20 40 60 80 100 120

(20)

INTERPRETATION Efficiency of the wavelet transform due to

condition(s) of admissibility :

R

−∞

t

p

ψ(t) dt = 0

,

constraints on support of

ψ

. Indeed, if –

ψ

has support of length

≈ T

around

0

ψ ˆ

has support of length

≈ Ω

around

ω

0 Then

T Ω = cste

(Fourier-Heisenberg) and

1

a

ψ(

t−ba

)

has support of length

≈ aT

around

b

, –

√ a ˆ ψ(aω)

a support of length

≈ Ω/a

around

ω

0

/a

(relative band- width

∆ω/ω ≈

cste).

(21)

Consequences

if

a  1

, then

1a

ψ(

t−ba

)

is wide window, –

e

−iωb

a ˆ ψ(aω)

is very sharp,

and the CWT reacts mainly to low frequencies (low-band filter),

if

a  1

, then

1a

ψ(

t−ba

)

is narrow window, –

e

−iωb

a ˆ ψ(aω)

is wide window,

and the CWT reacts mainly to high frequencies (high-band filter) while offering an efficient temporal localization.

(22)

CONCLUSION The wavelet transform

s(t) → S(b, a) =

 

 

R

−∞

1

a

ψ(

t−ba

)s(t) dt

R

−∞

√ ae

iωb

ψ(aω)ˆ ˆ s(ω) dω

acts as a local filter, for time and scale at once : it selects the part of the signal possibly concentrated around instant

b

and scale

a

.

Furthermore, if the wavelet

ψ

is well localized, then the energy density

|S(b, a)|

2 of the CWT will be concentrated on those parts of the signal which are the most significant in terms of information.

The CWT acts as a

mathematical microscope :

• ψ ≡

optics

• b ≡

position

• 1/a ≡

global magnification

(23)

DISCRETIZATION PROBLEMS Redundancy due to continuum of the wavelet representation

s( t

|{z}

1D

) = 1 c

ψ

Z

−∞

db

Z

0

da

a

2

S( b, a

|{z}

2D

) 1

√ a ψ  t − b a



The CWT unmixes parts of signal which live at at same instants, but at different scales

(24)

Discretization : might eliminate this redundancy through the choice of a minimal grid

Γ = {(b

k

, a

j

), j, k ∈ Z}

in the half-plane time-scale

R × R

?+

= {(b, a)}

s(t) = X

j,k∈Z

bkaj

|si ˜ ψ

bkaj

(t)

| {z }

dual frame

A good grid is that one for which there exists

0 < m ≤ M

s.t.

mksk

2

≤ X

j,k

|hψ

bkaj

|si|

2

≤ M ksk

2

One speaks of discrete frame, of resolving power

M − m

M + m .

If

m = M

, then the frame is tight. It is orthonormal basis if

m = M = 1

.

(25)

EXAMPLE

Choice induced by the non-euclidean geometry (Lobatchevski) of the time-scale half-plane :

a

j

= a

j0

, b

k

= kb

0

a

j0

, a

0

> 0, k, j ∈ Z ψ

bkaj

(t) = a

−j/20

ψ(a

−j0

t − kb

0

)

Dyadic wavelets are obtained with :

a

0

= 2, b

0

= 1

(but the approach is totally different from Discrete Wavelet Transform)

(26)

1D-DISCRETE WAVELET ANALYSIS

(27)

FIRST STEP IN DISCRETE WAVELETS (HAAR) : REFINING PERIODIC SAMPLINGS

Smoothing + sampling of signal

s(t)

at the integer scale

n ∈ Z

(scale “zero”)

0

s)(t) ≡ s

0

(t) = X

n

hϕ(t − n)|si

| {z }

˜ ϕ?s(n)

ϕ(t − n) ∈ V

0

where

• ϕ(t)

: characteristic function of

[0, 1]

(scaling function or father wavelet)

• ˜ ϕ(t)

def

= ϕ(−t)

• f ∗ g(t)

def

= R

+∞

−∞

f (u − t)g(t) dt

(convolution)

Also:

hϕ(t − n)|si = R

+∞

−∞

ϕ(t − n)s(t) dt = R

n+1

n

s(t) dt

is the average os the signal on the interval

[n, n + 1]

• {ϕ(t − n)}

n∈Z : orthonormal system spans subspace

V

0

' l

2

(Z)

of signal constant on intervals

[n, n + 1]

.

(28)

Smoothing + finer sampling of signal s(t)

at the half-integer scale ( scale 1), i.e. on V

1

' l

2

(Z/2) : (Π

1

s)(t) = X

n

h √

2ϕ(2t − n)|si

| {z }

˜

ϕ1?s(n2)

2ϕ(2t − n) ∈ V

1

(29)

SECOND STEP IN DISCRETE WAVELETS:

HAAR WAVELET

Information at scale one

=

Information at scale zero or Approximation

+

Details :

1

s)(t) = (Π

0

s)(t) + (∆

0

s)(t) ⇔ V

1

= V

0

⊕ W

0

Details :

(∆

0

s)(t) = X

n

hψ(t − n)|si

| {z }

d0,n

ψ(t − n) ∈ W

0

Mother wavelet or Haar wavelet :

ψ(t) = ϕ(2t) − ϕ(2t − 1)

• {ψ(t − n)}

n∈Z

:

orthonormal system spans

W

0 of details at scale 1, or- thogonal complement of

V

0 in

V

1

(30)

THIRD STEP IN DISCRETE WAVELETS:

HAAR TRANSFORM AND MULTIRESOLUTION ANALYSIS

Information (or Tendency) at scale

j + 1

=

Tendency at

j +

Fluctuations (Details) :

j+1

s)(t) = (Π

j

s)(t) + (∆

j

s)(t) ⇔ V

j+1

= V

j

⊕ W

j

j

s)(t) = X

n

h2

j/2

ϕ(2

j

t − n)|si

| {z }

˜

ϕj?s(n/2j)

2

j/2

ϕ(2

j

t − n) ∈ V

j

(∆

j

s)(t) = X

n

h2

j/2

ψ(2

j

t − n)|si

| {z }

dj,n

2

j/2

ψ(2

j

t − n) ∈ W

j

d

j,n

=

R

−∞

2

j/2

ψ(2

j

t − n)s(t) dt

: Wavelet Transform of signal Multiresolution analysis of

L

2

(R)

:

· · · V

j−1

⊂ V

j

⊂ V

j+1

· · · {2

j/2

ψ(2

j

t − n)}

j,n∈Z : orthonormal basis of

L

2

(R) = L

W

(31)

SUMMARY :

Original Signal (or smoothing + sampling on fine grid

Z/2

N):

N

s)(t) ≡ s

N

(t) ∈ l

2

(Z/2

N

) ≡ V

N

V

N

= V

N −1

⊕ W

N −1

= V

N −2

⊕ [W

N −2

⊕ W

N −1

] =

· · · = V

0

tendency

|{z}

⊕ [W

0

⊕ W

1

+ · · · + ⊕W

N −1

]

| {z }

f luctuation

Corresponds to analysis :

s

N

= s

0

+ [r

0

+ r

1

+ · · · r

N −1

] ≡ (s

0

, r

0

, r

1

, . . . , r

N −1

) r

j

= ∆

j

s = X

n

d

j,n

2

j/2

ψ(2

j

t − n) ≡ (d

j,n

)

n∈Z Discrete wavelet transform :

d

j,n

=

R

−∞

2

j/2

ψ(2

j

t − n)s(t) dt =

R

−∞

2

j/2

ψ(

t−22−j−jn

)s(t) dt 2

−j : dilation (

j > 0

) or contraction (

j < 0

) parameter (scale)

2

−j

n

: translation parameter (localization)

(32)

0 500 1000 1500 2000 2500 3000 3500

−10 0 10

Signal

Temperatures

0 200 400 600 800 1000 1200 1400 1600 1800

−2 0 2

L=3 coef ondel

0 100 200 300 400 500 600 700 800 900

−5 0 5

L =2 coef ondel

0 50 100 150 200 250 300 350 400 450

−5 0 5

L=1 coef ondel

0 50 100 150 200 250

−10 0 10

L=0 coef ondel

−50 0 50

(33)

Ingredients of multiresolution analysis : 1. A scaling function

ϕ(t) ∈ L

2

(R)

s.t.

{ϕ(t − n)}

n∈Z is orthonormal system 2. Space

V

0 linear span of

{ϕ(t − n)}

n∈Z

3. Sequence

· · · V

j−1

⊂ V

j

⊂ V

j+1

· · ·

defined by

f (t) ∈ V

0

⇔ f (2

j

t) ∈ V

j and s.t.

j

V

j

= 0

,

j

V

j dense in

L

2

(R)

4. A wavelet, i.e. a function

ψ(t)

s. t.

{ψ(t − n)}

n∈Z spans the orthogonal complement

W

0 of

V

0 in

V

1

= V

0

⊕ W

0

Then :

1.

{2

j/2

ψ(2

j

t − n)}

j,n∈Z orthonormal basis of

L

2

(R)

2. Any signal

s(t)

decomposes as

s(t) = P

j,n

d

j,n

2

j/2

ψ(2

j

t − n)

3. The coefficient

d

j,n

=

R

−∞

2

j/2

ψ(2

j

t − n)s(t) dt = h2

j/2

ψ(2

j

t − n)|s(t)i

, as function of discrete variables

j

et

n

, is the wavelet transform of the signal.

(34)

EXAMPLES OF WAVELETS

1. compact support : Haar

Daubechies 1, Shannon (FT of Haar), Daubechies 2, Daubechies 3, ....

2. noncompact support 3. biorthogonal etc.

(35)

Daubechies Wavelet Ordre 2

(36)

0 500 1000 1500 2000 2500 3000 3500

−10 0 10

Signal

Temperatures

0 200 400 600 800 1000 1200 1400 1600 1800

−2 0 2

L=5 coefond

0 100 200 300 400 500 600 700 800 900

−2 0 2

L=4 coefond

0 50 100 150 200 250 300 350 400 450

−5 0 5

L=3 coefond

0 50 100 150 200 250

−5 0 5

L=2 coefond

0 20 40 60 80 100 120

−20 0 20

L=1 coefond

0 10 20 30 40 50 60

−20 0 20

L=0 coefond

−100 0 100

(37)
(38)
(39)
(40)
(41)
(42)

0 2 4 6 8 10 12 14 16 18 0

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

k

I( k )

(43)

−18

−16

−14

−12

−10

−8

−6

l/2j

j

dj,l

0 5 10 15

0 1 2 3 4 5 6 7 8

(44)

BASICS OF IMAGE PROCESSING

A digital image

a[m, n]

described in a 2D discrete space is derived from an analog image

a(x, y)

in a 2D continuous space through a sampling process that is frequently referred to as digitization.

The 2D continuous image

a(x, y)

is divided into

N

rows and

M

columns.

The intersection of a row and a column is termed a pixel. The value assigned to the integer coordinates

[m, n]

with

{m = 0, 1, 2, . . . , M − 1}

and

{n =

0, 1, 2, . . . , N − 1}

is

a[m, n]

. In fact, in most cases

a(x, y)

–which we might consider to be the physical signal that impinges on the face of a 2D sensor–is actually a function of many variables including depth

(z)

, color

(λ)

, and time

(t)

. Unless otherwise stated, we will consider the case of 2D, static images.

(45)
(46)

Digitization of a continuous image

The pixel at coordinates

[m = 10, n = 3]

has the integer brightness value 110.

This image has been divided into

N = 16

rows and

M = 16

columns.

The value assigned to every pixel is the average brightness in the pixel rounded to the nearest integer value.

The process of representing the amplitude of the 2D signal at a given coor- dinate as an integer value with

L

different gray levels is usually referred to

(47)

There are standard values for the various parameters encountered in digital image processing. These values can be caused by video standards, by algorithmic requirements, or by the desire to keep digital circuitry simple.

Commonly encountered values :

Rows Columns Gray Levels

Parameter

N M Λ

Typical values 256, 512, 256, 512, 2, 64, 525, 625, 768, 1024, 256, 1024,

1024, 1035 1320 16384

(48)

Quite frequently we see cases of

M = N = 2K

where

{K = 8, 9, 10}

. This can be motivated by digital circuitry or by the use of certain algorithms such as

the fast Fourier transform.

The number of distinct gray levels is usually a power of 2, that is,

Λ = 2B

where

B

is the number of bits in the binary representation of the brightness levels. When

B > 1

we speak of a gray-level image; when

B = 1

we speak of

a binary image. In a binary image there are just two gray levels which can be referred to, for example, as “black” and “white” or “0” and “1”.

(49)

HISTOGRAMS

More and more cameras let you view histograms on the camera’s monitor. The histogram, like those found in most serious photo-editing programs such as

Photoshop and Picture Window, let you evaluate the distribution of tones.

Since most image corrections can be diagnosed by looking at a histogram, it helps to look at it while still in a position to reshoot the image. Each pixel in an

image can be set to any of 256 levels of brightness from pure black (0) to pure white (255). A histogram is a graph that shows how the 256 possible levels of

brightness are distributed in the image.

(50)

How to read a Histogram

(51)

How to read a Histogram

The horizontal axis represents the range of brightness from 0 (shadows) on the left to 255 (highlights) on the right. Think of it as a line with 256 spaces on which to stack pixels of the same brightness. Since these are the only values that can be captured by the camera, the horizontal line also represents the camera’s maximum potential dynamic range.

The vertical axis represents the number of pixels that have each one of the 256 brightness values. The higher the line coming up from the horizontal axis, the more pixels there are at that level of brightness.

To read the histogram, you look at the distribution of pixels. An image that uses the entire dynamic range of the camera will have a reasonable number of pixels at every level of brightness. An image that has low contrast will

(52)

Example

This high-key fog scene has most of its values towards the highlight end of the scale. The distinct vertical line to the left of middle gray shows how many pixels there are in the uniformly gray frame border. You can see that there are

no really dark values in the image. In fact, the image uses only a little more than half the camera’s dynamic range.

(53)

CONTINUOUS WAVELET TRANSFORM OF IMAGES

A wavelet or probe

ψ(x)

,

x = (x

1

, x

2

) ∈ R

2 is chosen

well localized

admissible, which means

c

ψ

=

cste

Z Z

R2

| ˆ ψ(k)|

2

d

2

k

kkk

2

< ∞ ⇔ ˆ ψ(0) = 0

(54)

Image analysis is carried out by affine transport of the probe

ψ

in the euclidean plane :

Dilation/contraction (

a > 0

)

Translations (

b = (b

x

, b

y

) ∈ R

2)

Rotations (

θ ∈ [0, 2π]

)

ψ(x) → ψ

b,θ,a

(x) ≡

a1

ψ R

−1

(θ)

x−ba



Wavelet transform of a 2D signal :

L

2

(R

2

) 3 s(x) → S(b, θ, a) = Z Z

R2

ψ

b,θ,a

(x)s(x) d

2

x

= Z Z

R2

ψ ˆ

b,θ,a

(k)ˆ s(k) d

2

k

ˆ

s(k) = 1 2π

Z Z

e

−ik·x

s(x) d

2

x, ˆ ψ

b,θ,a

(k) = ae

−ib·k

ψ(aR ˆ

−1

(θ)k)

(55)

RECONSTRUCTION

s(x) = 1 c

ψ

Z Z

R2

d

2

b

Z

0

da a

3

Z

0

dθS(b, θ, a)ψ

b,θ,a

(x)

ENERGY CONSERVATION

Z Z

R2

|s(x)|

2

d

2

x = 1 c

ψ

Z Z

R2

d

2

b

Z

0

da a

3

Z

0

dθ|S(b, θ, a)|

2

RESOLUTION OF THE UNITY

I = 1 c

ψ

Z Z

R2

d

2

b

Z

0

da a

3

Z

0

dθ|ψ

b,θ,a

ihψ

b,θ,a

|

(56)

EXAMPLES OF 2D WAVELETS 1. Isotropic

Mexican Hat (Marr) :

ψ

H

(x) = −∆e

−kxk2/2

= (2 − kxk

2

)e

−kxk2/2

Difference wavelets (h(x)regular> 0):

ψ(x) = α

−2

h(α

−2

x) − h(x), 0 < α < 1

2. Orientational

Morlet wavelet :

ψ

M

(t) = e

ik0·x

e

kAxk22 + small correction terms s. t. ψˆH(0) = 0 A =diag[1

1,1

2](anisotropy matrix)

Cauchy wavelet :

ψ ˆ

has support in strictly convex cone

(57)

Anisotropic mexican hat

(58)

Anisotropic mexican hat

(59)

INTERPRETATION

If the wavelet

ψ

is well localized in

x

and in

k

at once, then the wavelet analysis acts with constant relative bandwidth : ∆kkkkkk

=

cste

efficiency at

large frequencies or at small scales

detector of discontinuities in images

e.g. point singularities ( contour vertices)

e.g. orientational features (borders, edges, segments, mikado)

Consequently The 2D CWT acts as a

orientational mathematical microscope :

• ψ ≡optics

• b ≡position

• 1/a ≡global zoom

• θ ≡orientation parameter

(60)

VISUALIZATION

6 possible choices of two-dimensional sections of the CWT

S(b, θ, a)

in space of parameters

(b

x1

, b

x2

, θ, a)

,

e.g. :

representation position :

(θ, a)

is fixed

representation direction-scale :

(b

x1

, b

x2

)

is fixed

(61)
(62)
(63)
(64)

DISCRETE WAVELET TRANSFORM OF IMAGES

One here comes back to dyadic multiresolution: a wavelet orthonormal basis in

L

2

(R

2

)

is built up from (tensor) products involving

a scale function

ϕ

associated to a multiresolution

{V

j

}

j∈Z of

L

2

(R)

a wavelet

ψ

whose the dilated-translated

2

j/2

ψ(2

j

t − n)

form an orthonor- mal basis of

L

2

(R) = L

j

W

j

For this purpose, one defines three wavelets :

ψ

1

(x

1

, x

2

) = ϕ(x

1

)ψ(x

2

)

(horizontal)

ψ

2

(x

1

, x

2

) = ψ(x

1

)ϕ(x

2

)

(vertical)

, ψ

3

(x

1

, x

2

) = ψ(x

1

)ψ(x

2

)

(diagonal)

,

and one puts, for

1 ≤ k ≤ 3

,

ψ

j,nk

(x) = 2

j

ψ

k

(2

j

x

1

− n

1

, 2

j

x

2

− n

2

)

(65)

Then,

• {ψ

j,n1

, ψ

j,n2

, ψ

j,n3

}

form an orthonormal basis of the subspace of details

W

j2

= (V

j

⊗ W

j

) ⊕ (W

j

⊗ V

j

) ⊕ (W

j

⊗ W

j

)

at scale

j

• L

2

(R

2

) = L

j

W

j2

The whole image

s(x)

decomposes as

s(x) = P

k,j,n

d

kj,n

2

j

ψ

j,nk

(x)

The coefficient

d

kj,n

=

Z

−∞

2

j

ψ

k

(2

j

x

1

− n

1

, 2

j

x

2

− n

2

)s(x) d

2

x = hψ

j,nk

|s(t)i,

as function of the three discrete variables

k

,

j

and

n

, is the discrete wavelet transform of the image.

(66)

EXAMPLES OF WAVELETS

1. compact support : Haar

Daubechies 1, Shannon (TF de Haar), Daubechies 2,

Daubechies 3, ....

2. noncompact support 3. biorthogonal etc.

(67)
(68)
(69)

Riferimenti

Documenti correlati

2) CNN-Siamese: Siamese neural network is a well- known architecture for ranking the similarity between two inputs [25], [26] and for weakly supervised learning. Here, we use

Negli ultimi anni, l’Università di Foggia ha intrapreso una serie di azioni volte a promuovere un processo di rinnovamento delle pratiche e dei servizi per rispondere ai bisogni

Answer: As a basis of Im A, take the first, fourth and fifth columns, so that A has rank 3. Find a basis of the kernel of A and show that it really is a basis... Does the union of

If S is not a linearly independent set of vectors, remove as many vectors as necessary to find a basis of its linear span and write the remaining vectors in S as a linear combination

Il contenuto frequenziale delle immagini portrait, landscape, architectural, etc e' diverso, mentre un classico algoritmo di sharpening esalterebbe tutte le frequenze che

The composition of polydisperse systems influences several properties of scattered light: its intensity depends on wavelength and angle of observation; the dispersed

In the present study, we performed the design and synthesis of new molecules obtained by the symbiotic combination of rivastigmine skeleton with natural

Per la verità, sul punto, le opinioni possono essere diverse. Se sembra accertato che, salvo alcune istituzioni molto piccole e peculiari, gli ate- nei italiani – come atenei nel