[Insight-users] ResampleImageFilter

Mark Hastenteufel M.Hastenteufel@dkfz-heidelberg.de
Mon, 18 Nov 2002 17:45:29 +0100


Hallo everybody!

I've a question concerning the ResampleImageFilter. 
I want to apply a Rigig3D transformation to an 
object (image). 

So I used the ResampleImageFilter and set the 
transform to Rigid3D. But the result isn't what 
I expected. The ResampleImageFilter does a backward 
transformation, that means f.e. a translational part
of (10,10,10) becomes (-10,-10,-10). I think that 
is due to Registration framework, where the moving 
Image is transformed (backward) to the fixed image. 

What is the best way to apply a "forward" Rigid3D 
transformation to an object. Should a use the inverse
offset as well the inverse rotation matrix or are 
there other ways?


Thanks in advance,

Mark


-- 
Mark Hastenteufel
Deutsches Krebsforschungszentrum         (German Cancer Research Center)
Div. Medical and Biological Informatics H0100    Tel: (+49) 6221-42 2353
Im Neuenheimer Feld 280                          Fax: (+49) 6221-42 2345
D-69120 Heidelberg              e-mail            M.Hastenteufel@DKFZ.de
Germany                         http://www.dkfz.de/mbi/people/markh.html