on quality criteria for time-varying filters

57
On Quality Criteria for On Quality Criteria for Time-Varying Filters Time-Varying Filters By: Lior Assouline Supervisor: Dr. Moshe Porat

Upload: duane

Post on 14-Jan-2016

16 views

Category:

Documents


0 download

DESCRIPTION

On Quality Criteria for Time-Varying Filters. By: Lior Assouline Supervisor: Dr. Moshe Porat. Agenda. Motivation (The need for Quality Criteria). The Time-Frequency (TF) filtering problem. Short theoretical introduction to TF Filter analysis. Existing solutions. Proposed solutions. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: On Quality Criteria for Time-Varying Filters

On Quality Criteria for On Quality Criteria for Time-Varying FiltersTime-Varying Filters

By: Lior Assouline

Supervisor: Dr. Moshe Porat

Page 2: On Quality Criteria for Time-Varying Filters

Agenda

Motivation (The need for Quality Criteria).The Time-Frequency (TF) filtering problem.Short theoretical introduction to TF Filter analysis.Existing solutions.Proposed solutions.Validation and Simulations.

Page 3: On Quality Criteria for Time-Varying Filters

Motivation

In recent years there have been considerable strides made in developing a combined TF description of signals by the use of joint time-frequency distributions. This development offered the possibility of generalizing the concepts and methods of classical filtering theory to the combined TF domain.

Page 4: On Quality Criteria for Time-Varying Filters

The Problem

In many applications (e.g. Seismic analysis, Evoked potentials, E.C.G/E.E.G. analysis etc.) it is desirable to filter a signal such that its components inside given time-frequency regions are specifically weighted.

Fre

qu

ency

T im e

1

0

0.5

The TF Filtering Model M(t,f)

Page 5: On Quality Criteria for Time-Varying Filters

The Problem (cont’d)

Time-Varying filtering presents unique difficulties that have not been fully overcome:

The large variety of filtering methods is due in part to the multiple Time-Frequency representation methods, each with its own merits and drawbacks.

There is still no accepted way to determine which filtering method to use for a specific filtering task, nor is there a way to find the optimal scheme suitable for a certain filtering task.

Page 6: On Quality Criteria for Time-Varying Filters

Time-Frequency Representations and Operator Symbols

STFT

Wigner Distribution (WD)

We can generalize both representations as an inner product of the signal and a symmetric/asymmetric TF shifted version of the signal itself (WD) or a normalized window (STFT)

detxftSTFT fjtx 2*,

detxtxftWD fj

tx2*

22,

Page 7: On Quality Criteria for Time-Varying Filters

Time-Frequency Representations and Operator Symbols (cont’d)

The input-output relation of any linear, time-varying (LTV) filter H is:

where is the impulse response of H.

Weyl Symbol: Generalization of Fourier using the Heisenberg Group Theory for LTV systems.

detthftL fjH

2

2,

2,

,,

dxthtytHx

,th

Page 8: On Quality Criteria for Time-Varying Filters

Time-Frequency Representations and Operator Symbols (cont’d)

Spreading Function: The 2D Fourier of Weyl Symbol.

The Weyl Symbol can be interpreted as a TF transfer function of the operator H with certain limitations due to the uncertainty principle.

The Spreading Function can be interpreted as the amount of potential time and frequency shifts caused by the linear operator.

ftLFFS HftH ,, 1

Page 9: On Quality Criteria for Time-Varying Filters

LTV Filter Design MethodsEvery linear filter can be represented as .

Current LTV Filter design approaches are based primarily on three main methods:

1. Composition of timepass and bandpass filters.2. STFT: Restriction of the reproducing formulas

based on coherent state expansions.3. Weyl: pseudodifferential operators with

symbols of compact support.

,th

Page 10: On Quality Criteria for Time-Varying Filters

STFT based methods

Calculate the STFT of a signal :

Multiply the STFT by the mask :

Synthesize the output signal from the masked STFT :

The resultant impulse response is

STFT ANALYSISusing window l(t)

STFTSYNTHESIS

using window g(t)

MultiplicativeModification

M(t,f)

x(t)... ...

y(t)

''','

'2* dtettltxftXt

ftjtl

),(,,~

ftMftXftX

' '

'2~

'''','f t

tfj dtdfettgftXty

f t

ttfj tdfdeftlttgftMtth )(2,),()',(

tx

ty ftX ,~

ftM ,

Page 11: On Quality Criteria for Time-Varying Filters

Optimal Window STFT (Kozek-92)

Matching the analysis and synthesis windows to the filtering model .

Optimal diagonalization of the operator via a Weyl-Heisenberg matched signal set.

windowtheofFunctionAmbiguityA

ftMModeltheofFunctionSpreadingSF

ASF

M

Mopt

,

,,

1,,maxarg2

ftM ,

Page 12: On Quality Criteria for Time-Varying Filters

Weyl Correspondence based methods

Based on the interpretation of the Weyl Symbol (WS) as a TF transfer function: We construct a filter H such that its WS is the Model ,

),(, ftMftLH

dfeftt

Mtthf

ttfj

2,2

),(

where,

ftM ,

Page 13: On Quality Criteria for Time-Varying Filters

TF Weighting filter

Weyl filter has a substantial amount of TF energy displacements.A constraint on H to be a positive semi-definite operator leads to a minimization problem:

PHH

HHLMH minarg

Page 14: On Quality Criteria for Time-Varying Filters

TF Weighting filter (cont’d)

Algorithm (Hlawatsch 94)Calculate as in a Weyl filter.Calculate the eigenvalues and eigenfunctions of the filter . The TF Weighting filter (TFWF) is given by tututth kkk

k

*

0

),(

tukk

', tth

', tth

Page 15: On Quality Criteria for Time-Varying Filters

Generalized LTV Filter

The Weyl Symbol of the STFT filter is

i.e., the Model smoothed by the Cross Wigner Distribution (CWD) of the windows used in the analysis and synthesis of the STFT.

This suggests a generalized filter where the STFT and the Weyl based methods are special cases.

),(**),(),( , ftWDftMftL glH

Page 16: On Quality Criteria for Time-Varying Filters

Generalized LTV Filter (cont’d)

Proposed algorithm 2D Convolve with an arbitrary (or part of a family of a) smoothing function to yield ,

Calculate from the modified as in a Weyl filter:

),(~

ftM

),( ftM

),(~

ftM

dfeftt

Mtthf

ttfj

2,2

),(

ftS ,

),(**),(),(~

ftSftMftM

', tth

Page 17: On Quality Criteria for Time-Varying Filters

Generalized LTV Filter (cont’d)

Properties:The proposed filter is related to the STFT and the

Weyl filters:The STFT filter results fromThe Weyl filter results from

is a 2D smoothing function. Using smoothing functions along the continuum

between the two extreme cases of a physical window (Heisenberg cell) and an unrealizable Dirac TF function ( ) yields a new family of filters.

This resultant family of filters has smooth transition between the extreme properties of STFT and Weyl filters, as will be shown.

),(),( , ftWDftS gl ftftS ),(

),( ftS

ft

Page 18: On Quality Criteria for Time-Varying Filters

Current LTV Filter Quality Criteria - SNR improvement (Kozek-92)

SNR improvement :SNR_in = SNR_out = SNR_improvement is based on the difference between SNR_out

and SNR_in.

Problems:It is not clear if a small SNR improvement is due to low immunity to noise or high distortion of the internal signal.A (internal) test signal must be found: Signal synthesis is an as yet unsolved problem.

)(/)( tnts)()(~/)( tststs

noisetn

signaloutputts

signalinputts

~

Page 19: On Quality Criteria for Time-Varying Filters

Current LTV Filters Quality Criteria (cont’d), Dubiner - 97

Dubiner’s Max/Mean criteria is based on the fact that an internal (to the passing area) signal should be passed undistorted, and an external signal should be blocked.

Problems:This QC is suitable only for rectangular areas TF filters

Page 20: On Quality Criteria for Time-Varying Filters

Proposed Quality Criterion

Mean Distortion Error (MDE-QC)

Page 21: On Quality Criteria for Time-Varying Filters

Eigenvalues analysis of a self-adjoint operator

Self-Adjoint operators can be decomposed into real eigenvalues and their corresponding eigenfunctions:

The unitary property of WD enables an interpretation of concentration for the eigenvalues

tututth kk

kk *,

kHuu ftWSWDkk

),(,,

Page 22: On Quality Criteria for Time-Varying Filters

Positive and negative eigenvalues

Positive eigenvalues correspond to eigenfunctions whose TF support is inside the model, defined as weighted functions:

Negative eigenvalues correspond to eigenfunctions that are passed with inverted phase, defined as corrections:

tututtH kIk

kkWeighting

*,

tututtH kIk

kkCorrection

*,

Page 23: On Quality Criteria for Time-Varying Filters

Positive and negative eigenvalues (cont’d)

Negative eigenvalues appear when trying to filter an area sharply localized or smaller than Heisenberg cell.

This is a natural manifestation of the Heisenberg Uncertainty principle.

Page 24: On Quality Criteria for Time-Varying Filters

The proposed criterion

The QC main idea: Measure distortion i.e. difference

between resulting weighting operator and the required TF model .

Penalty for corrections induced by the operator .

We can see a filtering process as projecting a signal onto the eigenfunctions linear space. It is therefore of interest to determine the TF support of these eigenfunctions.

ttHWeighting ,

ttH sCorrection ,

),( ftM

Page 25: On Quality Criteria for Time-Varying Filters

Definition (Hlawatsch-91) : The Wigner Space (WSP) of an operator H is defined as:

where are the eigenvalues and eigenfunctions of the operator H.

The WSP is an approximate TF transfer function.

,,, , ftWDftWSPk

uukH kk

kk u,

Wigner space of an operator

Page 26: On Quality Criteria for Time-Varying Filters

MDE-QC

The Mean Distortion Error QC (MDE-QC) is defined as

where is the target TF filter model.

,,,,22

ftWSPftWSPftMHQCCorrectingWeighting HHM

),( ftM

Page 27: On Quality Criteria for Time-Varying Filters

Frequency

Ma

gn

itu

de

QC-MDE (cont’d)

This criterion measures the fidelity of the resulting linear filter with respect to the TF weighting specification .

RippleTF

H

onLocalizatiTF

HM ftWSPftWSPftMHQCCorrectingWeighting

22

,,,

This criterion is a natural generalization of the LTI case.

),( ftM

Page 28: On Quality Criteria for Time-Varying Filters

Quality Criteria - Analysis and Comparison

The MDE-QC is a suitable quality criterion:It is signal independent (unlike existing quality criteria).It permits an arbitrarily shaped TF weighting filter analysis (unlike most of the existing quality criteria).It permits an arbitrary weight specification of the TF location error (unlike SNR criteria).

Page 29: On Quality Criteria for Time-Varying Filters

Quality Criteria - Analysis and Comparison (cont’d)

It is independent of the filter implementation method (like most other methods)It accounts for the inherent tradeoff in LTV filtering: TF localization vs. TF ripple.It is a generalization of the LTI filter theory.

Page 30: On Quality Criteria for Time-Varying Filters

Quality Criteria - Analysis and Comparison (cont’d)

The choice of the WD is optimal in the sense of resolution.Linear combination of weighted WD diminishes the effect of cross-terms.

However, due to practical considerations (finite number of eigenfunctions) minimal smoothing is required for enhanced analysis.

ftWDftWSkk uu

kkH ,, ,

Page 31: On Quality Criteria for Time-Varying Filters

Upper bounds on QC values

For STFT based filters:

For Weyl based filters:

ddASHMQC MSTFTM t

,1,),( ,

ddSFddSFftWSPftM MMHH,,2,,2

Page 32: On Quality Criteria for Time-Varying Filters

Optimal filter

We can search over a family of smoothing functions to obtain the lowest value for the MDE-QC. This family of filters is defined here as GTFF (Generalized TF filter):

where is the model smoothed by .

,

~,minarg 1

,S

ftSGTFF MWSMQCH

ftM S ,~

ftS ,

ftS ,

),( ftM

Page 33: On Quality Criteria for Time-Varying Filters

Optimal filter (cont’d)

Unlike previously proposed filters such as STFT (Daubechies-88) and Weyl (Hlawatch-92), which use extreme cases of a smoothing function, the solution here is superior to both by selecting a smoothing function that suits the model and the user’s choice of TF localization and ripple errors.

ftS ,

Page 34: On Quality Criteria for Time-Varying Filters

LTV filtering comparisonThe filtering model (a) and MDE-QC weighting part (b,c,d,e) for various filtering methods.

0

0.2

0.4

0.6

0.8

1TF model

TimeF

requ

ency

10 20 30 40 50 60-0.5

0

0.5

0.2

0.4

0.6

0.8

1

1.2

Weyl

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5

0.2

0.4

0.6

0.8

STFT

TimeF

requ

ency

10 20 30 40 50 60-0.5

0

0.5

0

0.5

1

1.5

TF Weighting filter

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5

0

0.2

0.4

0.6

0.8

Opt. Window STFT

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5

(a)

(b) (c)

(d) (e)

Page 35: On Quality Criteria for Time-Varying Filters

LTV filtering comparison (cont’d)

STFT Opt. Window STFT Weyl TF Weighting

0.25

0.3

0.35

0.4

0.45

0.5

0.55

MDE-QC results

NM

SE

Page 36: On Quality Criteria for Time-Varying Filters

GTFFOGTFF synthesis and eigenvalue analysis

Page 37: On Quality Criteria for Time-Varying Filters

Signal Pass validation experiments

Validation of MDE-QC with SPNS-QC (STFT representation)

Original Signal

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5STFT: PASS-QC 0.00711

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5OWSTFT: PASS-QC 0.00713

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5

Weyl: PASS-QC 0.00561

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5TFWF: PASS-QC 0.00536

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5OGTFF: PASS-QC 0.00658

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5

(a) (b) (c)

(d) (e) (f)

Page 38: On Quality Criteria for Time-Varying Filters

Signal Pass validation experiments

0 20 40 60 80-2

-1

0

1

2

3

4Original Signal

Time0 20 40 60 80

-0.5

0

0.5

1

1.5

2

2.5STFT: PASS-QC 0.00711

Time0 20 40 60 80

-0.5

0

0.5

1

1.5

2

2.5OWSTFT: PASS-QC 0.00713

Time

0 20 40 60 80-1

-0.5

0

0.5

1

1.5

2

2.5Weyl: PASS-QC 0.00561

Time0 20 40 60 80

-1

-0.5

0

0.5

1

1.5

2

2.5

3TFWF: PASS-QC 0.00536

Time0 20 40 60 80

-1

-0.5

0

0.5

1

1.5

2

2.5OGTFF: PASS-QC 0.00658

Time

(a) (b) (c)

(d) (e) (f)

Page 39: On Quality Criteria for Time-Varying Filters

Noise Stop validation experimentsValidation of MDE-QC with SPNS-QC (STFT representation)

Test Noise

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5STFT: STOP-QC 0.00087

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5OWSTFT: STOP-QC 0.00087

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5

Weyl: STOP-QC 0.00113

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5TFWF: STOP-QC 0.00138

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5OGTFF: STOP-QC 0.00095

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5

(a) (b) (c)

(d) (e) (f)

Page 40: On Quality Criteria for Time-Varying Filters

Noise Stop validation experiments

0 20 40 60 80-2

-1

0

1

2

3

4Test Noise

Time0 20 40 60 80

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6STFT: STOP-QC 0.00087

Time0 20 40 60 80

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8OWSTFT: STOP-QC 0.00087

Time

0 20 40 60 80-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1Weyl: STOP-QC 0.00114

Time0 20 40 60 80

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8TFWF: STOP-QC 0.00138

Time0 20 40 60 80

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1OGTFF: STOP-QC 0.00094

Time

(a) (b) (c)

(d) (e) (f)

Page 41: On Quality Criteria for Time-Varying Filters

Signal Pass/Noise Stop validation experimentsValidation experiments showing the relative quality of the filters using SPNS-QC.

TFWF Weyl GTFF STFT OWSTFT

1

1.05

1.1

1.15

1.2

1.25

1.3

1.35PASS-QC

NM

SE

STFT OWSTFT GTFF Weyl TFWF

1

1.1

1.2

1.3

1.4

1.5

1.6STOP-QC

NM

SE

GTFF STFT OWSTFT Weyl TFWF

2.3

2.35

2.4

2.45

2.5

2.55

2.6SPNS-QC total

NM

SE

Page 42: On Quality Criteria for Time-Varying Filters

Conclusions from experiments

The MDE-QC is in agreement with the SPNS-QC criterion and can be used to predict filter performances.The optimal GTFF (OGTFF) has superior properties: TF localization and ripple, compared to both STFT and Weyl based filters.

Page 43: On Quality Criteria for Time-Varying Filters

Summary

A QC based on eigenvalue analysis is proposed.The QC can predict the filter performances for a given filtering task.LTV filtering trade-off (TF localization and ripple) are accounted for.

Page 44: On Quality Criteria for Time-Varying Filters

Summary (cont’d)

MDE-QC is in accordance with the unrelated SPNS-QC criterion.MDE-QC enables synthesis of an optimal LTV filter, which was found best also according to SPNS-QC.

Page 45: On Quality Criteria for Time-Varying Filters

Additional Quality Criteria

Extended Dubiner Quality CriterionSignal Pass/Noise Stop (SPNS) QC

Page 46: On Quality Criteria for Time-Varying Filters

Extended Dubiner Quality Criterion

(alpha) Internal/external signals are created using a (arbitrary area) TF signal synthesis technique by Hlawatsch & Krattenthaler.The filters are tested using these signals to yield the mean/max criterion.

Problem:This technique relies on a TF (bilinear) signal synthesis

technique that will bias the results to Weyl based filter techniques (since its basis functions are the eigenvalues of the filter operator). This QC is therefore suitable only for STFT based methods.

Page 47: On Quality Criteria for Time-Varying Filters

SPNS-QC based Quality Criterion

Measure the passing of internal signals:Generate a TF model based on a representative signal.Check all filtering operators available using SPNS-QC with the same signal used for the synthesis of the TF model.

Page 48: On Quality Criteria for Time-Varying Filters

SPNS-QC based Quality Criterion (cont’d)

Measure the blocking of external signals:Generate random noise distributed uniformly in the TF plane.Check the total amount of noise passed in each filtering method. The best filter passes the least amount of noise.

Page 49: On Quality Criteria for Time-Varying Filters

SPNS-QC based Quality Criterion (cont’d)

This criterion will serve as a validation QC since it relies on a test signal (available only in synthesized cases).Current methods of TF signal synthesis bias the results of the QC towards the related filtering method.

Page 50: On Quality Criteria for Time-Varying Filters

Generalization of WD and STFT

dttxtxexxSMeAt

itixx 2/2/,, *2

,

Wigner Distribution

ddAeftWD xxfti

xx ,, ,)(2

,

STFT Distribution

dttxtexSMAt

itx

*2,,

ddAeftSTFT xfti

x ,, )(2

Page 51: On Quality Criteria for Time-Varying Filters

Weyl Symbol as a generalization of Fourier

A general (time-varying) linear operator is defined by

and its 2D Fourier transform

Representing a filtering operation as a weighted superposition of TF shifted versions of the signal:

ddtxMSeSFtHx iH ,)(

detthftWS fjH

2

2,

2,

txetxM ti

2)(

)()( txtxS

ddtxMSeSFdxth iH ,,

dfeft

WSthf

tfjH

2,2

),(

ddeeSFftWS iiHH 22,,

Page 52: On Quality Criteria for Time-Varying Filters

Weighting and Correcting effects in TF plane

Weyl symbol of a Weyl operator H

Time

Fre

q

10 20 30 40 50 60-0.5

0

0.5

0 10 20 30 40 50 60 70-0.5

0

0.5

1

1.5Ordered Eigenvalues of the Weyl operator H

0 10 20 30 40 50 60 70-0.2

-0.1

0

0.1

0.2Eigenfunction with Eigenvalue -0.24

0 10 20 30 40 50 60 70-0.3

-0.2

-0.1

0

0.1

0.2 Eigenfunction with Eigenvalue 1.21

The WD of the Eigenfunction

Time

Fre

q

10 20 30 40 50 60-0.5

0

0.5The WD of the Eigenfunction

Time

Fre

q

10 20 30 40 50 60-0.5

0

0.5

Time Time

Time

(a) (b)

(c) (d)

(e) (f)

Page 53: On Quality Criteria for Time-Varying Filters

WS as a weighted superposition of eigenfunctions WD

ftWD

detutu

detutu

detthftWS

kk uuk

k

fjkk

kk

fj

kkkk

fjH

,

22

22

2,

2,

,

2*

2*

2

Moyal formula:

m

kmkmm

m

mkmkm

m

uuuum

mHuu

uuuu

WDWDWSWDmmkkkk

*

,,,

,,

,,

Page 54: On Quality Criteria for Time-Varying Filters

The Heisenberg Uncertainty principle for WD

Using the Weyl correspondence, the positive semi-definite operator H obeys

Heisenberg uncertainty principle for Wigner Distributions (Folland-97)

A restriction on the minimum spread of the symbol

0,,, , t f

xxH ftWDftWSxHx

2

,,

2

222 ftWSdtdfftWSbfat

t f

Page 55: On Quality Criteria for Time-Varying Filters

The Heisenberg Uncertainty principle for WD (cont’d)

The following inequality shows that the symbol cannot be too peaked locally (Janssen-89 ):

2

2,,

t ft f

dtdfftWSdtdfftWS

Page 56: On Quality Criteria for Time-Varying Filters

Filtering Experiments – 1TF Model

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5Test Signal

Time

Fre

quen

cy

20 40 60-0.5

0

0.5

STFT Filter Output

Time

Fre

quen

cy

20 40 60-0.5

0

0.5OPTTF Filter Output

Time

Fre

quen

cy

20 40 60-0.5

0

0.5

Page 57: On Quality Criteria for Time-Varying Filters

Filtering Experiments – 2TF Model

Time

Fre

quen

cy

10 20 30 40 50 60-0.5

0

0.5Test Signal

Time

Fre

quen

cy

20 40 60-0.5

0

0.5

STFT Filter Output

Time

Fre

quen

cy

20 40 60-0.5

0

0.5OPTTF Filter Output

Time

Fre

quen

cy

20 40 60-0.5

0

0.5