[Insight-users] Problem using itkResampleImageFilter
Luis Ibanez
luis.ibanez at kitware.com
Fri, 06 Feb 2004 16:00:27 -0500
Hi Rama,
If you want to overlay the anatomical structures
from both images (CT and PET) you can use a
registration algorithm.
Given that you have different image modalities
you should use one of the three implementaitons
of the MutualInformation metric available in ITK.
Please look at the Multi-modality registration
examples that Dr. Lydia Ng wrote for the Software
Guide
http://www.itk.org/ItkSoftwareGuide.pdf
Section 8.4, pdf-page 255.
The corresponding code is available at
Insight/Examples/Registration
In particular
ImageRegistration2.cxx
ImageRegistration4.cxx
Regards,
Luis
----------------
CSPL wrote:
> Hello Luis,
>
.....
>
> I have one more problem. I have resampled a PET binary mask image
> (128x128x35) with spacing values as 4.296875/4.296875/4.25 into a CT
> image (512x512x35) with spacing values 0.9765625/0.9765625/4.25. Now I
> want to overlay the resampled image on to the CT image. But the mask
> appears to have shifted. How do I overlay them on to each other?
>
> I was not successful in implementing the solution you suggested to
> me the last time I have asked you for help on this issue. Please
> indicate if I should use any other filters.
>
> Since after resampling both the CT image and the mask image have the
> same properties, I thought I could map the images using pixels (not
> physical length/space). I am unable to get any other idea to do this.
>
> Regards,
> Rama Krishna. <mailto:nathkailas at hotmail.com>