[Insight-users] itkImageToVTKImageFilter

Luis Ibanez luis.ibanez at kitware.com
Thu Apr 27 17:46:18 EDT 2006


Hi Markus,

If you already solved the deformable registration problem between your
fixed and moving images, and have at hand the resulting deformation
field, you can generate the intermediate version of the deformed moving
image by taking the deformation field and multiplying it with a number
between 0.0 and 1.0, then using the resulting vector field in the Warp
ImageFilter.


In pseudocode it will look like

      for i = 1 to 10
        {
          intermediateField = deformationField * i / 10.0
          intermediateImage = Warp( movingimage, intermediateFiedl )
        }

Please let us know if you need more details on how to implement this
code.


    Regards,


       Luis



-----------------------
Markus Losacker wrote:
> Hi all,
> 
> I´m new to ITK. I have 3D MRI Data, wich is segmented in some parallel 
> slices. Each segemted slice is a 2D binary image. I´d like to Iterpolize 
> these slices to a 3D binary image.
> I tried it with the demonsRegistration and the warpImageFilter and I got 
> it running. My problem is that I can only Interpolize one slice between 
> some slices.  Is there the possibility to interpolize several images 
> between a moving and a fixed image with the same deformation field?
> The output should be something like a sequence from the fixed to the 
> moving image.
> 
> Best Regards
> 
> Markus
> 
> 
> _______________________________________________
> 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