Algorithm 1.
Kalman multiatlas segmentation.
| 1: | Affine register Ji to Ji−1 for i = 1, …, N − 1 by minimizing the MSE, and record the transformations . This can be done offline before I is available |
| 2: | Initialize , Q, and R |
| 3: | When I is available, register I0 to I and record the transformations |
| 4: | for i = 1, 2, …, N − 1 do |
| 5: | Predict transformation: |
| 6: | Covariance matrix: |
| 7: | Get observation: affine register Ii to I by minimizing the dissimilarity measure and record the transformation βi |
| 8: | Kalman gain: |
| 9: | Update state: |
| 10: | Update covariance matrix: |
| 11: | end for |