[Insight-developers] question about adding a user-defined transformation (for registration)

Luis Ibanez luis.ibanez at kitware.com
Thu Oct 11 08:25:18 EDT 2007


Hi Dan,


      Welcome to ITK !


--

If you are asking for the procedure for contributing new
classes to ITK, please read the following Wiki page:
http://www.itk.org/Wiki/ITK_Procedure_for_Contributing_New_Classes_and_Algorithms


If you are asking about how to write your own customized
Transform, then the easy way is indeed to start by following
the model of the Translation transform and to only implement
the TransformPoint() method.

At that level you will be able to use the Transform with optimizers
that do not require Derivatives of the CostFunction (Image Metric).
(for example OnePlusOneEvolutionaryOptimizer and AmoebaOptimizer).

Once you get that to work, you can add the GetJacobian() method.
That method will make possible for your Transform to be used with
optimizers that require cost function derivatives.


Please let us know if you run into specific problems
when writing your new Transform.



     Thanks


        Luis



-------------------
Dan Koppel wrote:
> Hello All,
>   I am new to ITK and am interested in adding my own (user-defined) 
> transformation for use in registering images.  I am looking at the file 
> "itkTranslationTransform.txx" for guidance.  However, it seems fairly 
> involved.  Can anybody tell me what the standard procedure (if any) is 
> for including new user-defined registration transformations (ie. image 
> warping)?
>  
> Thanks in advance,
>   Dan
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list