<br>Thanks, Dan. I used the example ImageRegistration8.cxx with my data.<br><br>First, it's terribly slow. Is there anything I can do to speed it up? In my limited experience, applying a threshold first and skipping rotation of voxels below the threshold helped. Or could I pre-compute isotropic voxels and skip the interpolation that follows image rotation and just interpolate the final solution? Any suggestion is welcome!<br>
<br>Second, after 200 iterations, the output does not appear correct. I ran it with data that had the dimensions 13888x560x48 and 1388x560x53 but the output had the dimensions 13888x560x48. The volumes were of the shell of a large object, rotated 90 deg, so I'm sure the dimension of the output should have been much larger---something like 1388x1000x100.<br>
<br>KLN<br><br><br><br><br><br><div class="gmail_quote">On Sun, Nov 21, 2010 at 7:55 AM, Dan Mueller <span dir="ltr"><<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Kevin,<br>
<br>
I highly recommending the entire ITK Software Guide:<br>
<a href="http://www.itk.org/ItkSoftwareGuide.pdf" target="_blank">http://www.itk.org/ItkSoftwareGuide.pdf</a><br>
<br>
For your specific question, see section 8.8.<br>
<br>
In short:<br>
<br>
IdentityTransform: identity<br>
TranslationTransform: n-D translation<br>
ScaleTransform: n-D scaling<br>
CenteredRigid2DTransform: 2-D rotation + translation<br>
Similarity2DTransform: 2-D scaling + rotation + translation<br>
VersorTransform: 3-D rotation<br>
VersorRigid3DTransform: 3-D rotation + translation<br>
Similarity3DTransform: 3-D scaling + rotation + translation<br>
AffineTransform: n-D scaling + rotation + translation + shear<br>
<br>
HTH<br>
<br>
Cheers, Dan<br>
<div><div></div><div class="h5"><br>
On 21 November 2010 13:49, Kevin Neff <<a href="mailto:kevin.l.neff@gmail.com">kevin.l.neff@gmail.com</a>> wrote:<br>
><br>
> I need to register images using rotation and translation. Is that possible<br>
> with theITK classes, or do I have to write my own?<br>
><br>
> I'm basing this question on a translation-only example and the list of<br>
> classes derived from AffineTransform<br>
><br>
> <a href="http://www.itk.org/Wiki/ITK_Image_Registration" target="_blank">http://www.itk.org/Wiki/ITK_Image_Registration</a><br>
</div></div></blockquote></div><br>