[Insight-developers] Transform vs RegistrationTransform

Lydia Ng lng@insightful.com
Mon, 25 Jun 2001 10:06:47 -0700


Jim:

> What is the difference between a Transform and a 
> RegistrationTransform?

RegistrationTransform classes are adpators for the underlying Transform
classes which actually does the work.

Transform takes in parameters in a more natural form.
While RegistrationTransform takes a single combined vector.
This provides an uniform interface allowing one to plugin different
transforms in the registration framework.

For example, 
AffineTransform can takes as parameters:
 Matrix + Offset, Scaling factors, rotation angles, shear parameters

While AffineRegistrationParameter takes as parameter
a single vector compose of all the components of the matrix and the offset.


Lydia