• Tidak ada hasil yang ditemukan

Adaptive Filter

N/A
N/A
Protected

Academic year: 2025

Membagikan "Adaptive Filter"

Copied!
27
0
0

Teks penuh

(1)

Adaptive Filter

A digital filter that automatically adjusts its coefficients to  adapt input signal via an adaptive algorithm.

Applications:

Signal enhancement

Active noise control

Noise cancellation

Telephone echo cancellation

1

Text: Digital Signal Processing  by Li Tan, Chapter 10

(2)

Simplest Noise Canceller

n(n) is a linear filtered (delayed) version of x(n).  Controls speed  of convergence

(3)

Simplest Noise Canceller – contd.

Initial coefficient 

Measured

3

(4)

Wiener Filter & LMS Algorithm

Clean signal

Consider, single weight case, Error signal,

Now we have to solve for the best weight w*

(5)

5

LMS Algorithm

Taking Expectation of squared error signal

For large N,

Optimal w* is found when minimum J is achieved

(6)

LMS Algorithm - Example

Given MSE function for the Wiener filter:

Solving for optimal, we get Finally we get

large N

Makes real‐time implementation difficult

R‐1: Matrix inversion

(7)

7

Steepest Decent Algorithm

 = constant controlling the speed of convergence.

(8)

Steepest Decent Algorithm: Example

Given: 

Iteration three times

Find optimal solution for w* 

For n = 0,

Solution:

For n = 1,

For n = 2,

(9)

9

Steepest Decent Algorithm –

contd1.

To make it sample‐based processing, we need to take out estimation.

Updating weight

For multiple tap FIR filter:

Choose convergence  constant as

Px : maximum input power

(10)

Steepest Decent Algorithm –

contd2.

Steps:

(11)

11

Noise Canceller Using Adaptive Filter-

1

Perform adaptive filtering to obtain outputs  Given: 

Initial weights:

Solution: 

Filtering:

Output:

Updating  weights:

(12)

Noise Canceller Using Adaptive Filter-

2
(13)

13

Noise Canceller Using Adaptive Filter-

3

Output (noise‐cleaned signal):

Practice: Textbook by Li Tan, Chapter 10.

10.3, 10.5, 10.7

(14)

Digital Signal Processors - Introduction

Processors dedicated to DSP

Off‐line processing: all the data needs to be in the memory at the same time. 

The output is produced after all the input data is in the memory. 

On‐line processing: the output is produced as the same time the input is  coming. No delay or little delay.

Circular Buffer Operation:

Start Pointer

End Pointer Step size 

of 

memory 

= 1

Pointer to  most recent  sample

(15)

15

Microprocessors Architecture

Normal microprocessors

DSP uses these ideas

Most recent instructions

(16)

Typical DSP Architecture

For circular buffering

Operations are divided

(17)

Application of DSP in Image Processing:

Basic Intensity Transfer Functions

• Linear

• Logarithmic

• Power‐law

17

Grey Image has 

intensity in the range  [0 – 255] i.e. it uses 8  bits.

Intensity is transformed  for better viewing.

(18)

r L

s   1 

Intensity level: [0, L ‐ 1]

Negative Transformation

(19)

Log Transformation

Original Image (Fourier Spectrum) Log Transformed Image

) 1

log( r c

s  

Compresses the dynamic range of images with large variations in pixel values.

Loss of details in low pixel values

19

(20)

Contrast manipulation: Power-Law

MRI of a fractured

spine.

  0 . 6

3 .

 0

 4

.

 0

Best contrast Washed out

cr

s 

(21)

Filter Mask

9

1 9

9 2

2 1

1 ...

k

T k

kz w z

w z

w z

w

R w z

Smoothing Filter  (low pass) mask:

Equal weight Weighted average

 

 

a

a s

b

b t a

a s

b

b t

t s w

t y s x f t s w y

x g

) , (

) ,

( ) , ( )

, (

Normalization factor

21

(22)

Smoothing Effect

Original image 3 X 3 mask

35 X 35 mask 5 X 5 mask

Noise is less  pronounced.

Completely blurred!

(23)

Median Filtering

Find the median in the neighborhood, then assign the  center pixel value to that median.

23

(24)

Digital (Image) Watermarking

Inserting information (watermark) into images in such a way that  the watermark is inseparable from the images.

• Copyright identification.

• User identification.

• Authenticity determination.

• Automated monitoring.

• Copy protection.

w f

f

w

 ( 1   )  

Watermarked  image

Watermark Original 

image

(25)

Example of Watermarking - I

α= 0.3

Visible

Textbook: Digital Image Processing by 

Gonzalez and Woods  25

(26)

Example of Watermarking - II

Invisible

Watermark is inserted in image’s two LSBs.

64 4 4 f w

f

w

 

 

 

Sets two LSBs of  image to 00.

Shifts two MSBs into two  LSBs.

By zeroing 6 MSB  and scaling the  remains to full  intensity level, 

we get

(27)

Image Watermarking System

Private / restricted key system: fi and ware used.

Public / unrestricted key system: fi and ware unused.

27

Referensi

Dokumen terkait

This project studies on the analysis of the Image Restoration using techniques of Mean, Median and Adaptive Filter under the spatial domain.. Three different

Dalam pengujian ini juga dapat diketahui bahwa citra hasil reduksi noise dengan menggunakan Spatial Median Filter memiliki kualitas yang lebih bagus dalam mereduksi noise

Hasil simulasi yang telah dilakukan menggunakan algoritma adaptive covariance rank unscented Kalman filter dan unscented Kalman filter pada persamaan air dangkal non linear

Pada penelitian ini Improved Adaptive Median Filter memiliki hasil yang lebih baik dalam menghilangkan noise pada citra dengan tingkat noise yang tinggi jika dibandingkan

Dalam pengujian ini juga dapat diketahui bahwa citra hasil reduksi noise dengan menggunakan Spatial Median Filter memiliki kualitas yang lebih bagus dalam mereduksi noise

will be inserted by the editor All-Digital Background Calibration of Gain and Timing Mismatches in Time-Interleaved ADCs Using Adaptive Noise Canceller Han Le Duc, Thi Kim Phuong

The adaptive switching trimmed vector median filtering algorithm described in this research is a unique method for denoising impulse noise in satellite images.. Adaptive Switching

The 4D adaptive ensemble Kalman filter To reduce the dependence of the AEnKF on the specification ofBand to include more information from the model dynamics and previous data in the