This section presents the model-based objective function pseudo-code as it stands in June 2004. These explanations are intended to ease technical implementation being inter-communicated. Emphasise style is used to symbolise less significant I/O (input/output) steps which can be ignored. Many other steps are left out because they have little correlation to data registration itself.
The algorithm can be conceptually divided into three parts as follows: