[Insight-users] registration and warping composite filter

Zoltan Seress seress.zoltan at gmail.com
Thu Dec 3 03:49:56 EST 2009


Hi Luis,

Thanks for the detailed answer. Meanwhile I managed to write what I wanted,
but I derived it from itkPDEDeformableRegistrationFilter. Maybe the result
does not completely fulfill the requirements of a standard itk filter, but
it seems to work.Nevertheless I will take a good look at the tutorial you
proposed.

On Wed, Dec 2, 2009 at 1:13 AM, Luis Ibanez <luis.ibanez at kitware.com> wrote:

> 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
> >
> >
>



-- 
Zoli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091203/e1678598/attachment.htm>


More information about the Insight-users mailing list