[Insight-users] registration and warping composite filter

Luis Ibanez luis.ibanez at kitware.com
Tue Dec 1 19:13:20 EST 2009


Hi Zoltan,

If you want to package the full functionality of the classes:

   * itkDemonsRegistrationFilter
   * itkLinearInterpolateImageFunction
   * itkWarpImageFilter


you should create a new filter that derives from

          itk::ImageToImageFilter

 takes 2 inputs:

 * The Fixed Image
 * The Moving Image

and produce one output:

* The Resampled Image


Inside the GenerateData() method of your new filter,
you could pack most of the code of the example:


   Insight/Examples/Registration/
              DeformableRegistration2.cxx


For instructions on how to write a new ITK filter,
you may want to look at the Tutorial:

http://www.na-mic.org/Wiki/images/b/bc/Insight-Writing-a-New-Filter.ppt


    Regards,


            Luis


---------------------------------------------------
On Sun, Nov 29, 2009 at 4:57 AM, Zoltan Seress <seress.zoltan at gmail.com> wrote:
> Hi,
> Nothing new strategy, I just want to combine that 3 filters in one. So the
> answers are:
>
> On Sun, Nov 29, 2009 at 10:14 AM, Karthik Krishnan
> <karthik.krishnan at kitware.com> wrote:
>>
>> What exactly is your goal ? Are you simply trying to encapsulate the
>> combined functionality of demons registration and the final resampling
>> using the resulting vector field into a single filter ?
>
> Yes.
>
>>
>> Or are you
>> trying to implement a new registration strategy ?
>
> No.
>>
>> On Fri, Nov 27, 2009 at 2:31 PM, Zoltan Seress <seress.zoltan at gmail.com>
>> wrote:
>> > Hi,
>> > Sorry for the first letter! It was an accident.
>> > I would like to write a composite filter, which
>> >
>> > encapsulates itkDemonsRegistrationFilter, itkLinearInterpolateImageFunction
>> > and itkWarpImageFilter (at least for now). Should I derivate it
>> > from itkPDEDeformableRegistrationFilter (parent
>> > of itkDemonsRegistrationFilter) or itkImageToImageFilter (parent
>> > of itkWarpImageFilter)? Actually I have more questions, but that is the
>> > first to start.
>> > On Fri, Nov 27, 2009 at 8:23 PM, Zoltan Seress <seress.zoltan at gmail.com>
>> > wrote:
>> >>
>> >> Dear Listmembers!
>> >>
>> >> --
>> >> Zoli
>> >
>> >
>> >
>> > --
>> > Zoli
>> >
>> > _____________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Kitware offers ITK Training Courses, for more information visit:
>> > http://www.kitware.com/products/protraining.html
>> >
>> > Please keep messages on-topic and check the ITK FAQ at:
>> > http://www.itk.org/Wiki/ITK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.itk.org/mailman/listinfo/insight-users
>> >
>> >
>
>
>
> --
> Zoli
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list