[Insight-users] orientation of vectors of the coefficient image of a bsplineDeformableTransform

Kristina Grunewald k.grunewald at dkfz-heidelberg.de
Mon Aug 30 14:57:29 EDT 2004


Hello everybody,

I am registering a circle (fixed image) and a square (moving image).
The square is smaller than the circle and their centers are superimposed.
The transform is BSPlineDeformableTransform and the metric MeanSquares.
This works well and results exactly in what I expect.

Except for:
I am writing the coefficient images of the bspline transform to a vector
image and then view it with paraview.
To do so I use 3d vectors having the z-component being set to zero and
a 3d image consisting of one slice.
Having a 2d image consisting of 2d vectors it isn't possible in
paraview to set the orient mode to vector when applying a glyph filter.
However, this seems to work well, too.
The only thing I am wondering about is the direction of the vectors:
I would have expected them to direct from the center of the image to its
borders.
This is only the case in y-direction.
In x-direction the vectors point from the the border to the center of
the image.

I attached my resulting coefficient image.

When I view the displacement field, the vectors are oriented in the same
way.

Could anybody explain to me what I am not getting?

Thanks,
Kristina

-------------- next part --------------
A non-text attachment was scrubbed...
Name: coeffs2.raw
Type: application/octet-stream
Size: 2028 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20040830/fcc77258/coeffs2.obj
-------------- next part --------------
ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
DimSize = 13 13 1
ElementNumberOfChannels = 3
ElementType = MET_FLOAT
ElementDataFile = coeffs2.raw


More information about the Insight-users mailing list