SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
KALMAN FILTER
  Applications in Image processing
Introduction
• The kalman filter is a recursive state space model based
  estimation algorithm.

• This filter is named after Rudolph E. Kalman, who in
  1960 published his famous paper describing a recursive
  solution to the discrete data linear filtering problem
  (Kalman 1960).

• This algorithm was basically developed for single
  dimensional and real valued signals which are
  associated with the linear systems assuming the system
  is corrupted with linear additive white Gaussian noise.
• The Kalman filter addresses the general problem of
  trying to estimate the state x ∈ ℜn of a discrete-time
  controlled process that is governed by the linear
  difference equation

               xk = Axk – 1 + Buk – 1 + wk – 1

• with a measurement z that is

                       zk = Hxk + vk

• The random variables wk and vk represent the process
  noise and measurement noise respectively.
• The nxn matrix A in the previous difference
  equation relates the state at the previous time
  step k-1 to the state at the current step k , in the
  absence of either a driving function or process
  noise.

• The nxl matrix B relates the optional control input
  u to the state x.

• The mxn matrix H in the measurement equation
  relates the state to the measurement zk.
The Computational Origins of the Filter :

• We define𝑥 − ∈ℜn to be our a priori state
               𝑘
  estimate at step k given knowledge of the
  process prior to step k , and 𝑥 𝑘 ∈ℜn to be our a
  posteriori state estimate at step k given
  measurement zk.
• We can then define a priori and a posteriori
  estimate errors as
                   −           −
                  𝑒𝑘 ≡ 𝑥𝑘 − 𝑥𝑘 &
                  𝑒𝑘 ≡ 𝑥𝑘 − 𝑥𝑘
• The a priori estimate error covariance is then
                   −       − −𝑇
                  𝑃𝑘 = 𝐸 𝑒 𝑘 𝑒 𝑘
                        &
• the a posteriori estimate error covariance is
                                𝑇
                   𝑃𝑘 = 𝐸 𝑒 𝑘 𝑒 𝑘

• The posteriori state estimate 𝑥 𝑘 is written as a
  linear combination of an a priori estimate 𝑥 −  𝑘
  and a weighted difference between an actual
  measurement zk & a measurement prediction
  H 𝑥 −.
      𝑘
.
            𝑥 𝑘 = 𝑥 − + 𝐾 𝑧 𝑘 − 𝐻𝑥 −
                    𝑘              𝑘

• The difference   𝑧 𝑘 − 𝐻𝑥 −
                            𝑘     is called the
  measurement innovation, or the residual.

• The nxm matrix K is chosen to be the gain or
  blending factor that minimizes the a posteriori
  error covariance.

• Substituting 𝑥 𝑘 in 𝑒 𝑘 and 𝑒 𝑘 in Pk , and
  performing minimization, we get
                𝑃− 𝐻 𝑇
                 𝑘
     𝐾𝑘 =                = 𝑃− 𝐻 𝑇 𝐻𝑃− 𝐻 𝑇 + 𝑅 −1
                            𝑘       𝑘
             𝐻𝑃− 𝐻 𝑇 + 𝑅
               𝑘
Kalman filter algorithm
• The Kalman filter estimates a process by using a form of
  feedback control: the filter estimates the process state at
  some time and then obtains feedback in the form of (noisy)
  measurements.

• As such, the equations for the Kalman filter fall into two
  groups: time update equations and measurement update
  equations.

• The time update equations are responsible for projecting
  forward (in time) the current state and error covariance
  estimates to obtain the a priori estimates for the next time
  step.
• The measurement update equations are responsible
  for the feedback—i.e. for incorporating a new
  measurement into the a priori estimate to obtain an
  improved a posteriori estimate.

• The time update equations can also be thought of as
  predictor equations, while the measurement update
  equations can be thought of as corrector equations.

• The final estimation algorithm resembles that of a
  predictor-corrector algorithm.
Discrete Kalman filter time update equations:

              𝑥 − = 𝐴𝑥 𝑘−1 + 𝐵𝑢 𝑘−1
                𝑘
                                              Prediction
               𝑃 − = 𝐴𝑃 𝑘−1 𝐴 𝑇 + 𝑄
                 𝑘

Discrete Kalman filter measurement update
equations:
           𝐾 𝑘 = 𝑃 − 𝐻 𝑇 𝐻𝑃− 𝐻 𝑇 + 𝑅
                   𝑘       𝑘
                                         −1


            𝑥 𝑘 = 𝑥 − + 𝐾 𝑘 𝑧 𝑘 − 𝐻𝑥 −
                    𝑘                𝑘           Correction

               𝑃 𝑘 = 𝐼 − 𝐾 𝑘 𝐻 𝑃−
                                𝑘
A complete picture of the operation of the
              Kalman filter
Implementation
• The image process is modelled as an auto
  regressive(AR) process driven by a white
  gaussian noise (Wn) with variance Q described
  by



• Mathematically it can be written as
   𝑦 𝑖, 𝑗
            = 𝑎1 𝑦 𝑖, 𝑗 − 1 + 𝑎2 𝑦 𝑖 − 1, 𝑗
            + 𝑎3 𝑦 𝑖 − 1, 𝑗 − 1 + 𝑎4 𝑦(𝑖 − 1, 𝑗 + 1)
• The state space model for this system can be
  written as
                 𝑋 𝑛+1 = 𝐴𝑋 𝑛 + 𝑉𝑛
                  𝑍 𝑛 = 𝐻𝑋 𝑛 + 𝑊𝑛

     where

   𝑎1      𝑎2   𝑎3   𝑎4           𝑦(𝑖, 𝑗 − 1)
   1       0    0    0            𝑦(𝑖 − 1, 𝑗)
𝐴=                      & 𝑋𝑛 =
   0       1    0    0         𝑦(𝑖 − 1, 𝑗 − 1)
   0       0    1    0          𝑦(𝑖 − 1, 𝑗 + 1
Results
Original Images   Measured Images   Corrected Images
Extended Kalman Filter
• An extended Kalman filter is used if the
  process to be estimated and (or) the
  measurement relationship to the process is
  non-linear.
• Here
           𝑥 𝑘 = 𝑓 𝑥 𝑘−1 , 𝑢 𝑘−1 , 𝑤 𝑘−1

• with measurement z that is

                𝑧 𝑘 = ℎ 𝑥 𝑘, 𝑣 𝑘
• Similar to the Kalman filter, the time and
  measurement equations for EKF can be
  written as below:
• EKF time update equations:



• EKF measurement update eqns:
A complete picture of the operation
   of the extended Kalman filter
Results

Original Image   Measured Image   Corrected Image
COMPLEX KALMAN FILTERING
• In complex Kalman filtering, image model is
  represented in complex form as real and imaginary
  values represented as real and imaginary part of the
  complex number.
                   Y= Real+(imag)i

• where, Y is complex image model.

• Complex valued Kalman filters have been used
  extensively in a variety of applications, including
  frequency estimation of time-varying signals, training
  of neural networks etc.
Properties of Kalman filter
• Kalman filter is a time-varying filter as Kalman gain
  changes with n.

• The filter is very powerful in several aspects: it
  supports estimations of past, present, and even
  future states, and it can do so even when the precise
  nature of the modeled system is unknown.

• In the Kalman filter, prediction acts like the prior
  information about the state at time n before we
  observe the data at time n.
Refernces
• Natasha Devroye. Estimation: parts of Chapters 12-13,
  Wiener and Kalman Filtering.

• Greg Welch and Gary Bishop. An Introduction to the
  Kalman Filter, Monday, July 24, 2006.

• R. E. KALMAN. A New Approach to Linear Filtering and
  Prediction Problems.

• http://www.cs.unc.edu/~welch/kalman/
Kalman Filter Applications in Image Processing

Weitere ähnliche Inhalte

Was ist angesagt?

Lecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdfLecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdfVishalPusadkar1
 
Kalman filters
Kalman filtersKalman filters
Kalman filtersAJAL A J
 
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTSA KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTSIJCSES Journal
 
The extended kalman filter
The extended kalman filterThe extended kalman filter
The extended kalman filterMudit Parnami
 
Kalman filter for Beginners
Kalman filter for BeginnersKalman filter for Beginners
Kalman filter for Beginnerswinfred lu
 
Application of adaptive linear equalizer
Application of adaptive linear equalizerApplication of adaptive linear equalizer
Application of adaptive linear equalizerSayahnarahul
 
Kalman Filter and its Application
Kalman Filter and its ApplicationKalman Filter and its Application
Kalman Filter and its ApplicationSaptarshi Mazumdar
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal ProcessingSandip Ladi
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filtersop205
 
Wiener filters
Wiener filtersWiener filters
Wiener filtersRayeesa
 
Report kalman filtering
Report kalman filteringReport kalman filtering
Report kalman filteringIrfan Anjum
 

Was ist angesagt? (20)

Lecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdfLecture Notes on Adaptive Signal Processing-1.pdf
Lecture Notes on Adaptive Signal Processing-1.pdf
 
kalman filtering "From Basics to unscented Kaman filter"
 kalman filtering "From Basics to unscented Kaman filter" kalman filtering "From Basics to unscented Kaman filter"
kalman filtering "From Basics to unscented Kaman filter"
 
Kalman filters
Kalman filtersKalman filters
Kalman filters
 
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTSA KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
 
Kalman Filter
 Kalman Filter    Kalman Filter
Kalman Filter
 
Kalman Equations
Kalman EquationsKalman Equations
Kalman Equations
 
The extended kalman filter
The extended kalman filterThe extended kalman filter
The extended kalman filter
 
Kalman filter for Beginners
Kalman filter for BeginnersKalman filter for Beginners
Kalman filter for Beginners
 
Application of adaptive linear equalizer
Application of adaptive linear equalizerApplication of adaptive linear equalizer
Application of adaptive linear equalizer
 
Kalman Filter and its Application
Kalman Filter and its ApplicationKalman Filter and its Application
Kalman Filter and its Application
 
Kalman_filtering
Kalman_filteringKalman_filtering
Kalman_filtering
 
Kalman filters
Kalman filtersKalman filters
Kalman filters
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
 
Wiener filters
Wiener filtersWiener filters
Wiener filters
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
Signals & systems
Signals & systems Signals & systems
Signals & systems
 
Convolution&Correlation
Convolution&CorrelationConvolution&Correlation
Convolution&Correlation
 
Lyapunov stability
Lyapunov stability Lyapunov stability
Lyapunov stability
 
Report kalman filtering
Report kalman filteringReport kalman filtering
Report kalman filtering
 

Ähnlich wie Kalman Filter Applications in Image Processing

lecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptxlecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptxAnshulShekhar3
 
Time series Modelling Basics
Time series Modelling BasicsTime series Modelling Basics
Time series Modelling BasicsAshutosh Kumar
 
Intro to Quant Trading Strategies (Lecture 6 of 10)
Intro to Quant Trading Strategies (Lecture 6 of 10)Intro to Quant Trading Strategies (Lecture 6 of 10)
Intro to Quant Trading Strategies (Lecture 6 of 10)Adrian Aley
 
Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]
Sensor Fusion Study - Ch5. The discrete-time Kalman filter  [박정은]Sensor Fusion Study - Ch5. The discrete-time Kalman filter  [박정은]
Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]AI Robotics KR
 
ANALYZE THE STABILITY OF DC SERVO MOTOR USING NYQUIST PLOT
ANALYZE THE STABILITY OF DC SERVO MOTOR USING NYQUIST PLOTANALYZE THE STABILITY OF DC SERVO MOTOR USING NYQUIST PLOT
ANALYZE THE STABILITY OF DC SERVO MOTOR USING NYQUIST PLOTsanjay kumar pediredla
 
Relative Study of Measurement Noise Covariance R and Process Noise Covariance...
Relative Study of Measurement Noise Covariance R and Process Noise Covariance...Relative Study of Measurement Noise Covariance R and Process Noise Covariance...
Relative Study of Measurement Noise Covariance R and Process Noise Covariance...iosrjce
 
SPICE-MATEX @ DAC15
SPICE-MATEX @ DAC15SPICE-MATEX @ DAC15
SPICE-MATEX @ DAC15Hao Zhuang
 
Stat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryStat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryKhulna University
 
Applying Smoothing Techniques to Passive Target Tracking.pptx
Applying Smoothing Techniques to Passive Target Tracking.pptxApplying Smoothing Techniques to Passive Target Tracking.pptx
Applying Smoothing Techniques to Passive Target Tracking.pptxismailshaik2023
 

Ähnlich wie Kalman Filter Applications in Image Processing (20)

lecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptxlecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptx
 
Av 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman FilterAv 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman Filter
 
Time series Modelling Basics
Time series Modelling BasicsTime series Modelling Basics
Time series Modelling Basics
 
Slideshare
SlideshareSlideshare
Slideshare
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
 
Kalman filter.pdf
Kalman filter.pdfKalman filter.pdf
Kalman filter.pdf
 
Kalman filter demonstration
Kalman filter demonstrationKalman filter demonstration
Kalman filter demonstration
 
Week_10.2.pdf
Week_10.2.pdfWeek_10.2.pdf
Week_10.2.pdf
 
Intro to Quant Trading Strategies (Lecture 6 of 10)
Intro to Quant Trading Strategies (Lecture 6 of 10)Intro to Quant Trading Strategies (Lecture 6 of 10)
Intro to Quant Trading Strategies (Lecture 6 of 10)
 
Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]
Sensor Fusion Study - Ch5. The discrete-time Kalman filter  [박정은]Sensor Fusion Study - Ch5. The discrete-time Kalman filter  [박정은]
Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]
 
ANALYZE THE STABILITY OF DC SERVO MOTOR USING NYQUIST PLOT
ANALYZE THE STABILITY OF DC SERVO MOTOR USING NYQUIST PLOTANALYZE THE STABILITY OF DC SERVO MOTOR USING NYQUIST PLOT
ANALYZE THE STABILITY OF DC SERVO MOTOR USING NYQUIST PLOT
 
Kalman Filter Basic
Kalman Filter BasicKalman Filter Basic
Kalman Filter Basic
 
FinalReport
FinalReportFinalReport
FinalReport
 
Lecture 23 24-time_response
Lecture 23 24-time_responseLecture 23 24-time_response
Lecture 23 24-time_response
 
P01061112116
P01061112116P01061112116
P01061112116
 
Relative Study of Measurement Noise Covariance R and Process Noise Covariance...
Relative Study of Measurement Noise Covariance R and Process Noise Covariance...Relative Study of Measurement Noise Covariance R and Process Noise Covariance...
Relative Study of Measurement Noise Covariance R and Process Noise Covariance...
 
Me314 week08-stability and steady state errors
Me314 week08-stability and steady state errorsMe314 week08-stability and steady state errors
Me314 week08-stability and steady state errors
 
SPICE-MATEX @ DAC15
SPICE-MATEX @ DAC15SPICE-MATEX @ DAC15
SPICE-MATEX @ DAC15
 
Stat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryStat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng Theory
 
Applying Smoothing Techniques to Passive Target Tracking.pptx
Applying Smoothing Techniques to Passive Target Tracking.pptxApplying Smoothing Techniques to Passive Target Tracking.pptx
Applying Smoothing Techniques to Passive Target Tracking.pptx
 

Kürzlich hochgeladen

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Kürzlich hochgeladen (20)

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

Kalman Filter Applications in Image Processing

  • 1. KALMAN FILTER Applications in Image processing
  • 2. Introduction • The kalman filter is a recursive state space model based estimation algorithm. • This filter is named after Rudolph E. Kalman, who in 1960 published his famous paper describing a recursive solution to the discrete data linear filtering problem (Kalman 1960). • This algorithm was basically developed for single dimensional and real valued signals which are associated with the linear systems assuming the system is corrupted with linear additive white Gaussian noise.
  • 3. • The Kalman filter addresses the general problem of trying to estimate the state x ∈ ℜn of a discrete-time controlled process that is governed by the linear difference equation xk = Axk – 1 + Buk – 1 + wk – 1 • with a measurement z that is zk = Hxk + vk • The random variables wk and vk represent the process noise and measurement noise respectively.
  • 4. • The nxn matrix A in the previous difference equation relates the state at the previous time step k-1 to the state at the current step k , in the absence of either a driving function or process noise. • The nxl matrix B relates the optional control input u to the state x. • The mxn matrix H in the measurement equation relates the state to the measurement zk.
  • 5. The Computational Origins of the Filter : • We define𝑥 − ∈ℜn to be our a priori state 𝑘 estimate at step k given knowledge of the process prior to step k , and 𝑥 𝑘 ∈ℜn to be our a posteriori state estimate at step k given measurement zk. • We can then define a priori and a posteriori estimate errors as − − 𝑒𝑘 ≡ 𝑥𝑘 − 𝑥𝑘 & 𝑒𝑘 ≡ 𝑥𝑘 − 𝑥𝑘
  • 6. • The a priori estimate error covariance is then − − −𝑇 𝑃𝑘 = 𝐸 𝑒 𝑘 𝑒 𝑘 & • the a posteriori estimate error covariance is 𝑇 𝑃𝑘 = 𝐸 𝑒 𝑘 𝑒 𝑘 • The posteriori state estimate 𝑥 𝑘 is written as a linear combination of an a priori estimate 𝑥 − 𝑘 and a weighted difference between an actual measurement zk & a measurement prediction H 𝑥 −. 𝑘
  • 7. . 𝑥 𝑘 = 𝑥 − + 𝐾 𝑧 𝑘 − 𝐻𝑥 − 𝑘 𝑘 • The difference 𝑧 𝑘 − 𝐻𝑥 − 𝑘 is called the measurement innovation, or the residual. • The nxm matrix K is chosen to be the gain or blending factor that minimizes the a posteriori error covariance. • Substituting 𝑥 𝑘 in 𝑒 𝑘 and 𝑒 𝑘 in Pk , and performing minimization, we get 𝑃− 𝐻 𝑇 𝑘 𝐾𝑘 = = 𝑃− 𝐻 𝑇 𝐻𝑃− 𝐻 𝑇 + 𝑅 −1 𝑘 𝑘 𝐻𝑃− 𝐻 𝑇 + 𝑅 𝑘
  • 8. Kalman filter algorithm • The Kalman filter estimates a process by using a form of feedback control: the filter estimates the process state at some time and then obtains feedback in the form of (noisy) measurements. • As such, the equations for the Kalman filter fall into two groups: time update equations and measurement update equations. • The time update equations are responsible for projecting forward (in time) the current state and error covariance estimates to obtain the a priori estimates for the next time step.
  • 9. • The measurement update equations are responsible for the feedback—i.e. for incorporating a new measurement into the a priori estimate to obtain an improved a posteriori estimate. • The time update equations can also be thought of as predictor equations, while the measurement update equations can be thought of as corrector equations. • The final estimation algorithm resembles that of a predictor-corrector algorithm.
  • 10.
  • 11. Discrete Kalman filter time update equations: 𝑥 − = 𝐴𝑥 𝑘−1 + 𝐵𝑢 𝑘−1 𝑘 Prediction 𝑃 − = 𝐴𝑃 𝑘−1 𝐴 𝑇 + 𝑄 𝑘 Discrete Kalman filter measurement update equations: 𝐾 𝑘 = 𝑃 − 𝐻 𝑇 𝐻𝑃− 𝐻 𝑇 + 𝑅 𝑘 𝑘 −1 𝑥 𝑘 = 𝑥 − + 𝐾 𝑘 𝑧 𝑘 − 𝐻𝑥 − 𝑘 𝑘 Correction 𝑃 𝑘 = 𝐼 − 𝐾 𝑘 𝐻 𝑃− 𝑘
  • 12. A complete picture of the operation of the Kalman filter
  • 13. Implementation • The image process is modelled as an auto regressive(AR) process driven by a white gaussian noise (Wn) with variance Q described by • Mathematically it can be written as 𝑦 𝑖, 𝑗 = 𝑎1 𝑦 𝑖, 𝑗 − 1 + 𝑎2 𝑦 𝑖 − 1, 𝑗 + 𝑎3 𝑦 𝑖 − 1, 𝑗 − 1 + 𝑎4 𝑦(𝑖 − 1, 𝑗 + 1)
  • 14. • The state space model for this system can be written as 𝑋 𝑛+1 = 𝐴𝑋 𝑛 + 𝑉𝑛 𝑍 𝑛 = 𝐻𝑋 𝑛 + 𝑊𝑛 where 𝑎1 𝑎2 𝑎3 𝑎4 𝑦(𝑖, 𝑗 − 1) 1 0 0 0 𝑦(𝑖 − 1, 𝑗) 𝐴= & 𝑋𝑛 = 0 1 0 0 𝑦(𝑖 − 1, 𝑗 − 1) 0 0 1 0 𝑦(𝑖 − 1, 𝑗 + 1
  • 15. Results Original Images Measured Images Corrected Images
  • 16. Extended Kalman Filter • An extended Kalman filter is used if the process to be estimated and (or) the measurement relationship to the process is non-linear. • Here 𝑥 𝑘 = 𝑓 𝑥 𝑘−1 , 𝑢 𝑘−1 , 𝑤 𝑘−1 • with measurement z that is 𝑧 𝑘 = ℎ 𝑥 𝑘, 𝑣 𝑘
  • 17. • Similar to the Kalman filter, the time and measurement equations for EKF can be written as below: • EKF time update equations: • EKF measurement update eqns:
  • 18.
  • 19. A complete picture of the operation of the extended Kalman filter
  • 20. Results Original Image Measured Image Corrected Image
  • 21. COMPLEX KALMAN FILTERING • In complex Kalman filtering, image model is represented in complex form as real and imaginary values represented as real and imaginary part of the complex number. Y= Real+(imag)i • where, Y is complex image model. • Complex valued Kalman filters have been used extensively in a variety of applications, including frequency estimation of time-varying signals, training of neural networks etc.
  • 22. Properties of Kalman filter • Kalman filter is a time-varying filter as Kalman gain changes with n. • The filter is very powerful in several aspects: it supports estimations of past, present, and even future states, and it can do so even when the precise nature of the modeled system is unknown. • In the Kalman filter, prediction acts like the prior information about the state at time n before we observe the data at time n.
  • 23. Refernces • Natasha Devroye. Estimation: parts of Chapters 12-13, Wiener and Kalman Filtering. • Greg Welch and Gary Bishop. An Introduction to the Kalman Filter, Monday, July 24, 2006. • R. E. KALMAN. A New Approach to Linear Filtering and Prediction Problems. • http://www.cs.unc.edu/~welch/kalman/