[Vv] Landmarks bug in vv
Thomas BAUDIER
thomas.baudier at creatis.insa-lyon.fr
Mon Jan 9 14:56:00 CET 2017
Hi Benoit,
Thanks for your feedback.
I think it's ok with the new commits on the master branch.
Thomas
On 2017-01-07 11:59, Benoit Presles wrote:
> Dear all,
>
> I recently wanted to add landmarks to a 3D mhd image with the following
> header:
> ObjectType = Image
> NDims = 3
> BinaryData = True
> BinaryDataByteOrderMSB = False
> CompressedData = False
> TransformMatrix = 1 0 0 0 1 0 0 0 -1
> CenterOfRotation = 0 0 0
> AnatomicalOrientation = RAI
> Offset = 0 0 0
> ElementSpacing = 0.625 0.625 2.5
> DimSize = 512 512 121
> ElementNumberOfChannels = 1
> ElementType = MET_SHORT
> ElementDataFile = copd1_eBHCT.img
>
> As you can see, the TransformMatrix flips the z axis. With this
> transformation matrix, I cannot add landmarks (pressing the space bar)
> to the image.
> In the file vvSlicerManager.cxx, in the function "void
> vvSlicerManager::AddLandmark(float x,float y,float z,float t)", vv
> never enters in the if.
>
> I tried with some other TransformMatrix like 1 0 0 0 1 0 0 0
> 0.5 and it works fine.
>
>
> Thanks for your help,
> Best regards,
> Ben
>
> _______________________________________________
> vv mailing list
> vv at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
More information about the vv
mailing list