[Insight-users] Interpolation of grid positions

Luis Ibanez luis.ibanez at kitware.com
Tue Feb 21 17:11:39 EST 2006


Hi Steffi,


You seem to be generating a larger volume out of two volumes.

One possible way of doing this is by using the ResampleImageFilter.

This filter takes care of the interpolation and the spatial
transformation between the images.

You will find multiple examples of the use of this filter in
the ITK Software Guide.


   http://www.itk.org/ItkSoftwareGuide.pdf


The source code of these examples is in the directory:


      Insight/Examples/Filtering/

          ResampleImageFilter.cxx
          ResampleImageFilter2.cxx
          ResampleImageFilter3.cxx
          ResampleImageFilter4.cxx
          ResampleImageFilter5.cxx
          ResampleImageFilter6.cxx
          ResampleImageFilter7.cxx
          ResampleImageFilter8.cxx
          ResampleImageFilter9.cxx


For an example that uses the BSpline interpolator, you may want
to look at


          ResampleImageFilter7.cxx





Regards,


    Luis


-----------------------
Steffi Meyer wrote:
> Hi all,
> 
> I have a question about interpolation of grid points. I compose a
> big volume out of 2 part volumes. I iterate over the big bounding
> box and then I have to interpolate the calculated index coordinates of
> the 2 volumes. I know the 4 mentioned interpolators in the ITK Guide.  But 
> is there also an example available? I want to use the linear or b-spline 
> interpolator.
> 
> Thanks very much.
> 
> __________________________________________________________________________
> Erweitern Sie FreeMail zu einem noch leistungsstarkeren E-Mail-Postfach!		
> Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 



More information about the Insight-users mailing list