[Vv] Transformation matrix ?!
David Sarrut
David.Sarrut at creatis.insa-lyon.fr
Wed Feb 9 09:15:06 CET 2011
in the meantime, you can try the "clitkAffineTransform" command line tool in
the vv source code (turn ON "CLITK_BUILD_TOOLS" option, then 'make
clitkAffineTransform', then wait the looooong compilation time, and you can
use it to turn your image). It is a temporary solution but could work.
We definitively will work on this orientation stuff soon.
David
On Wed, Feb 9, 2011 at 09:08, <a.mans at nki.nl> wrote:
> Dear vv team,
>
> for the moment, my only problem is that I cannot view my unregistered data
> in vv. The output of the registration package i'm using (elastix) is using
> the same orientation as the 'fixed' image. Reviewing registrations therefore
> works fine.
>
> When you need scans for testing, you can contact me.
> And say hello to Simon (old NKI collegue).
>
> Anton
> ________________________________
> Van: david.sarrut at gmail.com [david.sarrut at gmail.com] namens David Sarrut [
> David.Sarrut at creatis.insa-lyon.fr]
> Verzonden: woensdag 9 februari 2011 8:17
> Aan: Anton Mans
> CC: vv
> Onderwerp: Re: [Vv] Transformation matrix ?!
>
> Hello Anton,
>
> as Vivien found in the sources, Simon has indeed implemented some technique
> which will allow to take orientation (and any affine transformation) into
> account in vv.
>
> However, it is currently disabled due to robustness reason (and potential
> memory leak). We plan to include it near future. When Simon will be back
> from his trip, we will discuss about that and may contact you if you will to
> participate with us to this feature.
>
> sincerely,
> David
>
> On Tue, Feb 8, 2011 at 18:09, Vivien Delmon <
> vivien.delmon at creatis.insa-lyon.fr<mailto:
> vivien.delmon at creatis.insa-lyon.fr>> wrote:
> On 02/07/2011 10:27 AM, a.mans at nki.nl<mailto: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
>
> _______________________________________________
> vv mailing list
> vv at creatis.insa-lyon.fr<mailto:vv at creatis.insa-lyon.fr>
> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>
>
>
> --
> David Sarrut, Phd
> Chargé de recherche CNRS
> Laboratoire CREATIS, UMR CNRS 5220, Inserm U 1044
> Centre de lutte contre le cancer Léon Bérard
> 28 rue Laënnec, 69373 Lyon cedex 08
> Tel : 04 78 78 51 51 / 06 74 72 05 42
> http://www.creatis.insa-lyon.fr/rio
> _________________________________
> "2 + 2 = 5, for extremely large values of 2"
> _________________________________
>
>
--
David Sarrut, Phd
Chargé de recherche CNRS
Laboratoire CREATIS, UMR CNRS 5220, Inserm U 1044
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/rio
_________________________________
"2 + 2 = 5, for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/vv/attachments/20110209/bcc4896a/attachment-0001.html>
More information about the vv
mailing list