[Insight-users] Regarding Resampling using image orientation patient and image position patient

Luis Ibanez luis.ibanez at kitware.com
Sun Apr 17 17:58:15 EDT 2005


Hi Sachin,

The transformation that you are applying is only
valid if the two datasets were taken from the same
scanner.

Please post to the list the following information:

          1) origin of both images
          2) orientation of both images
          3) pixel spacing for both images
          4) number of pixels along each axis
             for both images


---

In collaboration with NAMIC (National Alliance
for Biomedical Computing) support is being added
to ITK in order to consider the orientation from
DICOM headers when performing registration. This
may still take a while for stabilizing,... so in
the meantime you may still need to do your manual
conversion.

Please post the information requested above.


   Thanks


     Luis



-----------------------
Sachin Jambawalikar wrote:

> Hi Luis and Jolinda,
> 
> I'm trying to resample  one volume series to another volume series based on the 
> transformation matrix formed by the direction cosines and the image
> position patient  for the  left most point of the first slice in each
> volume.
> 
> I find the inverse of 4x4 affine matrix(obtained by direction cosines
> + image postion patient) for the fixed volume and  premultiply it to
> the transformation of the moving volume. (both volumes are different
> series of the same dicom study).
> 
> In resample image filter I set the  tranform matrix as the 9
> (rotation+shear +scaling) components  of the affine transform matrix
> and the transform vector is set as the 3 translation coordinates  .
> 
> After resampling  all I get is a volume of zeros  with correct
> dimensions and spacing of the fixed volume.
> 
> Is there a way in itk to  resample  moving volume to  fixed volume
> based on the dicom  header information ??
> 
> Regards
> --Sachin
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 





More information about the Insight-users mailing list