 
 
 
 
 
 
 
  
First the brain tissue is segmented from the images and a deformable surface is  applied to the source and target brain volumes, giving for each a parametric description of the shape of the outer cortical surface.
 At each point on the ventricular surface in the deforming source, a force is computed from the distance to the nearest point on the boundary of the target ventricular surface, weighted by the scalar product of outward normals at these points. These ventricular forces together with cortical forces derived from matching cortical surfaces by curvature measures provide a total external driving force field  which is supplied to the variable-elasticity equation:
which is supplied to the variable-elasticity equation:
 and the elasticity constraints on the displacements vector
and the elasticity constraints on the displacements vector 
 .
The second contains gradients in the elasticity parameters
.
The second contains gradients in the elasticity parameters  and
and  ,
allowing variation in the elasticity field. 
The third term contains gradients in a parameter
,
allowing variation in the elasticity field. 
The third term contains gradients in a parameter  determining an additional strain tensor
determining an additional strain tensor 
 which forces extra expansion or contraction in pre-selected regions. Hence the algorithm also contains inhomogeneities in activity, or data influence.
which forces extra expansion or contraction in pre-selected regions. Hence the algorithm also contains inhomogeneities in activity, or data influence.
 
 
 
 
 
 
