[Insight-users] SimpleITK and DTI

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Jun 6 10:55:48 EDT 2013


Hello,

SimpleITK does not have currently have support for images of tensors. I would like to add some basic support for this in the near future.

This is where you exception is coming from:
https://github.com/SimpleITK/SimpleITK/blob/master/Code/IO/src/sitkImageReaderBase.cxx#L86

What were you hoping to be able to do in SimpleITK? What algorithms/filters were you hoping to do?

I am hopping for some users to help drive and test this addition to SimpleITK.

Thanks,
Brad


On Jun 6, 2013, at 10:43 AM, Francois Budin <fbudin at unc.edu> wrote:

> Hello,
> 
> I was trying to open a Diffusion Tensor Image (DTI) file using SimpleITK (in a python console) and I got the following error: ========================================================= [30]: image=sitk.ReadImage( "/rodent/FAS_sulik/DTI2013/Processing/N50848/2-Registration/N50848_dwi_MFcorrected_shuffled_dti_f_reg.nrrd") --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-30-99f941f49428> in <module>() ----> 1 image=sitk.ReadImage( "/rodent/FAS_sulik/DTI2013/Processing/N50848/2-Registration/N50848_dwi_MFcorrected_shuffled_dti_f_reg.nrrd") /NIRAL/devel/linux/Python/ThirdParty/SimpleITK-0.6.1-py2.6-linux-x86_64.egg/SimpleITK.pyc in ReadImage(*args) 4388 4389 """ -> 4390 return _SimpleITK.ReadImage(*args) 4391 class HashImageFilter(_object): 4392 """ RuntimeError: Exception thrown in SimpleITK ReadImage: /scratch/blowekamp/dashboards/Ubuntu10-release/SimpleITK/Code/IO/src/sitkImageReaderBase.cxx:104: sitk::ERROR: Unknown PixelType: 9 ==============================================
> Is there a way to read DTI with SimpleITK? It reads well Diffusion Weighted Images (DWI) which are vector images.
> 
> Sincerely,
> 
> Francois
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list