Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association...

23
Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association with: Zoran, Haifa Spring 2007

Transcript of Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association...

Page 1: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

Students: Avihay BarazanyRoyi Levy

Supervisor: Kuti AvargelIn Association with:

Zoran, Haifa

Spring 2007

Page 2: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• Digital still cameras are widely used for video and audio recordings .

• When activating the zoom lens-motor during these recordings, the noise generated by the motor may be recorded by the camera's microphone.

• This noise may be extremely annoying and significantly degrade the perceived quality and intelligibility of the desired signal.

Page 3: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

cont.–Introduction

Page 4: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• Let denote the speech signal, background stationary noise, and zoom motor (non-stationary) noise, respectively.

• Let be the microphone signal.

• Main goal: to derive an estimator for the clean speech signal.

( ), ( ), ( )s tx n d n d n

( ) ( ) ( ) ( )s ty n x n d n d n= + +

ˆ ( )x n

ˆ ( )x n

td

x

sd

ca m eram ic ro p h o n e

( )y n

Page 5: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• To solve this problem, many digital-cameras manufacturers disable the option of activating the lens motor during audio recordings.

• Adaptive solution – Add a reference microphone and implement an adaptive algorithm for cancelling the motor noise in real-time.

• Spectral enhancement – Using spectral enhancement techniques for estimating the motor noise spectrum and enhancing the speech signal.

Page 6: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

Spectral Enhancement Techniques

• The spectral enhancement approach is operated on the time-frequency domain.

• Let the observed signal be:

• The goal is to estimate the spectral coefficient of the speech signal.

( ) ( ) ( )y n x n d n= +

• Let be the short time Fourier transform (STFT) of, i.e., 2-

( - ) ( )j km

Nlk

mX w lL m x m e

π

=∑lkX

( )x n

Page 7: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

Spectral Enhancement cont.–Techniques

• The desired estimate of is :

where the gain function is achieved by

minimizing a cost-function:

• There are different ways to measure the distortion

function. The commonly used distortion functions

are: or

ˆlk lk lkX G Y= ⋅

( ){ }ˆarg min ,lk

lk lkG

E d X X

ˆlkX

lkG

( ) ( )222ˆ ˆ,lk lk lk lkd X X X X= −

( ) ( )2ˆ ˆ, log loglk lk lk lkd X X X X= −

Page 8: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

Spectral Enhancement cont.–Techniques

• The disadvantage of the above mentioned algorithms, is their difficulty to handle with highly non-stationary noises.

OMLSA OnlyInput Signal

Page 9: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• The algorithm is based on paper: A. , Abramson, I. , Cohen, “Enhancement of Speech Signals Under Multiple Hypotheses using an Indicator for Transient Noise Presence”, 2007

• Since the problem consists of 2 different types of noises, the definition of the observed signal is:

• And are the STFT of

accordingly.

, , ,s tlk lk lk lkX Y D D

( ) ( ) ( ) ( )s ty n x n d n d n= + +

( ), ( )s td n d n

( ), ( ),x n y n

Page 10: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• Since the motor noise not always present, we define the following 4 hypothesis:

1

1

0

0

:

:

:

:

lk ss lk lk lk

lk s tt lk lk lk lk

lk ss lk lk

lk s tt lk lk lk

H Y X D

H Y X D D

H Y D

H Y D D

= +

= + +

=

= +

1lkH

0lkH

: speech is more dominant than noise.

: noise is more dominant than speech.

Page 11: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• Let denote the detector decision in the time-frequency bin

• Let denote the cost of false-alarm / miss-detections, respectively.

{ }, 0,1lkj jη ∈

( ), :l k

10, 01C C

0

1

lk

lktransient is a noisecomponenttransient is a speechcomponent

ηη

−−

• The algorithm assumes an indicator signal for the motor noise in the time frame ( ).l

Indicator

Page 12: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• Let

The criterion for the estimation of the speech signal under the decision

where

, .lk lk lk lkA X R Y= =

:lkjη

( ){ ( )( ) ( )}0

1 1

in

ˆ1

0 mˆ| ,

ˆ| , , |ˆ arg min ,

,

lk lk lkj j lk lk l

lk lkj j lk

kA

k

lk

l C p H Y E d X A Y H

C p H Y d G R A

A

η

η ⎡ ⎤⎣= ⎦

+

( )2( , ) log log .d x y x y= −

Page 13: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

ˆ( )x n

( )td n

lkY( )sd n

( )x n

ˆlkX

ISTFT

.gain funccomputation

Σ

,j lkGη

STFT

Page 14: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• The a-priori estimation for the motor noise is achieved using an average of early acquired recordings .

• The algorithm updates the initial estimation according to pre-determined regions. The result is the desired :

t̂λ

• The noise is classified by the criteria:Motor noise level higher than speech level ( )0 .H%

( ) ( ) ( ) ( ){ }( ) ( )

0

0

0

1

2ˆ ˆ( , )

( , )

ˆ: , 1

ˆ: ,

( 1, ) 1 , ( , )

11 ˆ ( , )

t st

t t

l k Y l k ll k

l k

H l kk

l k lH k

λ α α

λ α

λ

λ

λ β λ

α

β

λ

= + ⎡ ⎤− + − −⎣

+ − −=

⎦%

%

Page 15: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

Region classification:

0.H%

0H%

1.H%

• Method of classification:

• Frequencies that are out of speech band [>4 KHz ], are assumed to be in

• High amplitude harmonies in the motor noise estimation are classified as as well.

• High amplitude harmoniesare determined by an empiric threshold.

• The rest of the spectrum is classified as

Page 16: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• Several SNR’s of motor noise and speech were experimented.

• For each recording several values were considered.

• Different parameter sets were tried out until the optimized ones were found.

• The performance of the proposed approach was compared to those of the conventional OMLSA.

Parameters Setup:

fG

Page 17: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

Gf=-15dB Gf=-25dB

OMLSA OnlyInput Signal

Page 18: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

Gf=-15dB Gf=-25dB

Input Signal

Page 19: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

Gf=-15dB Gf=-25dB

Input Signal

Page 20: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

Gf=-15dB Gf=-20dB

Input Signal

Page 21: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• An algorithm for suppressing lens motor noise has

been introduced.

• An optimal estimator, is derived, while assuming some indicator for the motor-noise presence in the time domain.

• A-priori motor noise spectrum estimate is acquired .

• A substantial suppression of the motor noise is achieved, without degrading the perceived quality of the desired signal.

• The proposed algorithm is computationally efficient.

Page 22: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• The Signal & Image processing lab for technical support

during the entire work process.

• The Control & Robotics lab for assistance with

assembling of the camera module together with an I/O

control card.

• For all the guidance and academic support by Kuti

Avargel.

Page 23: Students: Avihay Barazany Royi Levy Supervisor: Kuti Avargel In Association …sipl.eelabs.technion.ac.il/wp-content/uploads/sites/6/... · 2016. 11. 30. · tlk lklklk lk s slk lk

• I. Cohen and B. Berdugo, “Speech Enhancement for Non-Stationary Noise Environments”, Signal Processing, Vol. 81, No. 11, pp. 2403-2418 , Nov. 2001.

• I. Cohen and B. Berdugo, “Noise estimation by minima controlled recursive averaging for robust speech enhancement”, Signal Processing, Vol. 9, Issue 1, pp. 12 – 15, Jan 2002.

• A. Abramson and I. Cohen," Enhancement of Speech Signals Under Multiple Hypotheses Using an Indicator for Transient Noise Presence " Proc. 31th IEEE Internat.

• A., Abramson, I. Cohen, “Simultaneous Detection and Estimation Approach for Speech Enhancement”, Audio, Speech, and Language Processing, IEEE Transactions on Vol. 15, Issue 8, pp. 2348 – 2359 , Nov. 2007.