SCIRun Forward/Inverse ECG Toolkit - Scientific Computing and ...
SCIRun Forward/Inverse ECG Toolkit - Scientific Computing and ...
SCIRun Forward/Inverse ECG Toolkit - Scientific Computing and ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
tor of measured potentials (see figure 4.1-1,3 ). In this case the module will calculate the<br />
st<strong>and</strong>ard Tikhonov regularization with l2 regularization:<br />
x = argmin x ‖Ax − y‖ 2 + λ‖x‖ 2 (4.1)<br />
Optionally, the algorithm allows to use other constraints in both the solution <strong>and</strong> the<br />
measurements. In the module, this matrices are respectively called solution constraint<br />
matrix (R) <strong>and</strong> residual constraint matrix (L) (see figure 4.1-2,4). In the general case the<br />
formula would result:<br />
x = argmin x ‖Ax − Ly‖ 2 + λ‖Rx‖ 2 (4.2)<br />
The module is also prepared to compute the solution more efficiently depending in<br />
whether the problem is underdetermined or overdetermined. In both cases the underlying<br />
algorithm will be the Gaussian elimination, but the equations to solve will differ. This will<br />
give for the underdetermined case:<br />
(ALL T A T + λRR T )x ′ = y (4.3)<br />
<strong>and</strong> for the overdetermined case:<br />
x = LL T A T x ′ (4.4)<br />
(A T L T LA + λR T R)x = A T L T Ly (4.5)<br />
In both cases, the algorithm could be solved by using a linear operator G. This operator<br />
requires some inverses <strong>and</strong> might result in an inefficient implementation. For this reason it<br />
is not used as is, but it might be obtained by the user as one of the outputs of the module.<br />
In the case of the overdetermined case the operator is:<br />
G = (A T P T P A + λ 2 LL T ) −1 A T P T P (4.6)<br />
<strong>and</strong> for the underdetermined case:<br />
G = W W T A T (AW W T A T + λ 2 CC T ) −1 . (4.7)<br />
28 Chapter 4