Hi Hila,

where did you get the tMatrix from? E.g. the matrix of the 
IndexToWorldTransform holds usually just the information about the rotation of 
the data object. If you want to get its translation you have to take its origin 
or offset into account. Have you tried setting the origin as well?

Regards
Andreas

On 07.01.2013, at 15:15, Hila Hiler wrote:

Hi all,

I have a very simple question.

I have a reference image which I views by MITK's GUI -> details ->Offset and 
matrix.
Now I want to transform another image in order to be aligened with that image. 
So I use this function:
m_MovingNode->GetData()->GetGeometry()->Compose( tMatrix ); //while tMatrix is 
exactly the transformation matrix with those offset and matrix of the reference 
image
m_MovingNode->GetData()->Modified();
then I save the project and view the aligned images.

why does the output image have another translation details?


Many Thanks,
Hila

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET<http://ASP.NET>, C# 2012, HTML5, 
CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to