[Insight-developers] From [Insight-users] Addition of two DeformationFields

Torsten Rohlfing torsten at synapse.sri.com
Wed Sep 7 10:31:25 EDT 2005


Luis:

No, this question was not about simply adding the deformation fields. As 
Jim pointed out in the post to the users list that I referenced, you 
need to interpolate the second deformation field according to the first 
before you add the vectors. If you extend the idea to more than two 
deformation fields concatenated (as I am planning to do), then you get a 
chain of interpolate-and-add operations, with one interpolation for each 
additional deformation field in the chain before the "current" one.

TR

Luis Ibanez wrote:

>
> Hi Torsten,
>
> Karthik did recently a pass through the linear filters in ITK in
> order to verify that they will work for Vector images.
>
> It should be possible now to use the standard itkAddImageFilter
> in order to add two deformation fields. (as long as the image
> dimensions are the same and their pixel types support the
> "operator+()"
>
>
> BTW, just to double check:  I'm assuming that by "concatenation"
> you meant: adding pixel-wise the vectors  of each deformation
> field.  Is that correct ?
>
>
>   Thanks
>
>
>      Luis
>
>
> -----------------------
> Torsten Rohlfing wrote:
>
>>
>> Jim:
>>
>> Do you know if anyone ever implemented a filter for concatenating 
>> deformation fields as outlined in
>>
>> http://public.kitware.com/pipermail/insight-users/2004-August/010058.html 
>>
>>
>> I'd be happy to take care of it if no one else has so far.
>>
>> Thanks!
>>  Torsten
>>




More information about the Insight-developers mailing list