[Insight-users] Resampling an image after a rigid body 3D registration

Vincent A. Magnotta vincent-magnotta at uiowa.edu
Mon Aug 28 10:14:04 EDT 2006


Remi,

The ResampleImageFilter takes an ITK transform as well as an image to
resample. You should be able to simply take your transform (assuming
that the transform was created in ITK) and call the SetTransform method
for the class.

Vince


On Mon, 2006-08-28 at 16:16 +0200, Remi Vieux wrote:
> Dear all,
> I have implemented an algorithm to perform a 3D rigid registration. The
> output is a matrix containing the parameters of the registration to map
> voxels from the registered volume to the reference volume. I can extract
> from this matrix the parameters in terms of 3 translations and 3
> rotations. I'd like to create the "registered" version of the image
> which has been registered, with the same characteristics as the
> reference volume (in terms of number of slices and voxel size). I
> thought I could use ResampleImageFilter but I dont really get how to
> give the filter the informations about the registration parameters
> (rotations and translations). Anyone can give me some hints?
> 
> Best Regards,
> Remi
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
-- 
Assistant Professor
Department of Radiology
0453-D JCP
200 Hawkins Drive
Iowa City, IA 52242
E-mail: vincent-magnotta at uiowa.edu
Phone: 319-356-8255
Fax: 319-353-6275
Website: http://www.radiology.uiowa.edu



More information about the Insight-users mailing list