[Vv] Transformation matrix ?!
Vivien Delmon
vivien.delmon at creatis.insa-lyon.fr
Tue Feb 8 18:09:47 CET 2011
On 02/07/2011 10:27 AM, a.mans at nki.nl wrote:
> Dear vv team,
>
> another small question:
> does vv correctly use the 'global' transformation information in the image header?
>
> My case: MR and CT scans have different orientations, which is compensated for by the transformation matrix in the .mhd image header.
> CT: TransformMatrix = 1 0 0 0 1 0 0 0 1
> MR: TransformMatrix = 0 1 0 0 0 -1 -1 0 0
>
> In FSLview the images are correctly aligned. In vv, however, it seems that the transformation is not applied. Also when I modify the header file, vv still shows the same orientations.
>
> Regards, Anton
VV doesn't take into account the direction part of the image when it
converts an ITK image to a VTK image.
The problem should be fixed in these files :
common/vvFromITK.h
common/vvImage.txx
I am not sure I will have time to correct this bug soon.
Kind Regards,
--
Vivien Delmon
PhD student at CREATIS, Lyon
Supported by ANRT and ELEKTA
http://www.creatis.insa-lyon.fr/rio
More information about the vv
mailing list