[Insight-users] After Registration with sampling to right space

Oliver Trebbe otrebbe at uni-muenster.de
Thu Dec 13 06:43:37 EST 2007


Hello Guy´s,

After Registration with MattesMI and AffineTransformation,
my Problem is to transform the movingImage.

if I just resample it with the Transform Matrix i got,
some Slices from the Volume went out of my sight,

i fixed the Problem in increasing the 3rd Parameter of the size from my 
Series
...
  size[0] = movingImage->GetLargestPossibleRegion().GetSize()[0];
  size[1] = movingImage->GetLargestPossibleRegion().GetSize()[1];
  size[2] = movingImage->GetLargestPossibleRegion().GetSize()[2]+5;

 resample->SetSize( size );
...

but that seemed not to be the way in doing it...
how can I just transform my series and get the right size of the Volume 
for my later doing?

I hope someone can help and understands what i´m trying to say :D

Thanks

Oliver


More information about the Insight-users mailing list