[Insight-developers] Transform changes Done.

Luis Ibanez luis.ibanez@kitware.com
Sat, 23 Feb 2002 08:36:45 -0500


Hi,

The modifications of the Transforms seem to be going well.
Current errors are in the expected places: Optimizers and Metrics.


Please feel free to go ahead with any check ins.



I'll start modifying the Optimizers. They are currently templated
over a <CostFunction>, which for the registration framework
happens to be a Metric.  Now that parameters are passed in
standard itk::Arrays there is no much advantage in having the
optimizer templated.

The template parameter will be removed and a base class CostFunction
will be added. This is exactly the approach used in vnl_optimizers.
In order to use an Optimizer the user has to create a CostFunction class
deriving form the CostFunctionBase class.


   Luis