Hi,

I'm working on a python script to open MRI volumes in NIFTI format in
paraview. In the NIFTI file, there is a 4x4 transform matrix to
transform voxel coordinates to normalized coordinates in mm. I would
like to use the mm coordinates in paraview. I can think of 2 methods
to accomplish this:

1: Use "simple.ImageReader" and "vtkImageReslice" with a
"vtkMatrix4x4" transform matrix.

In tried this method, but I can't figure out how to apply the
"vtkImageReslice" filter to the "simple.ImageReader" object.

2: Use "vtkImageReader" and "vtkImageReslice" with a "vtkMatrix4x4"
transform matrix.

In this case I don't know how to add the output of "vtkImageReslice"
to paraview (simple.Show() doesn't work).

Thanks,

Martin
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to