[vtkusers] vtkImageReslice, qform and sform

Francesco Ponzio fr.ponzio at gmail.com
Tue Jun 14 06:18:50 EDT 2016

Dear all,

I need to align two images in the same physical space. I've the following
.mat file with a transform matrix stored :

0.993732 -0.050437 0.099759 118.608807
0.107197 0.176938 -0.978367 175.246022
0.031695 0.982929 0.181236 46.150529
0 0 0 1

I don't have supplementary information.

Reading previous related discussion in the forum (
http://public.kitware.com/pipermail/vtkusers/2014-March/083528.html ) I've
become more confused.

What is data coordinate? Is is voxel space (I mean i,j,k space of the

What is the relation between a transfomation expressed in physical space
and the same in data coordinate space?
My images are nifti and I have qform and sform matrix which are the same.
How to use them?


Francesco Ponzio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160614/962fc1dc/attachment.html>

More information about the vtkusers mailing list