Hi Christina,

using Image::GetVtkImageData() just returns the pixel data but not the 
transformation. The transformation can be obtained from the corresponding 
Geometry of the Image which should be accessible by GetGeometry(). There you 
have e.g. access to the vtkTransform.

Regards,
Alex

Von: Cristina Oyarzun [mailto:[email protected]]
Gesendet: Donnerstag, 9. Juni 2011 09:51
An: [email protected]
Betreff: [mitk-users] with GetVtkImageData() the resulting image is not 
transformed

Hello,

I have an mitk::Image that has been transformed (translated and rotated). I am 
using GetVtkImageData() to get the corresponding vtkImageData, however the 
image that I obtain is not transformed.

Any idea of how to solve this problem?

Thank you!

Cristina
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to