[ITK] [ITK-users] SimpleITK - supported Pixel Type by JoinSeriesImageFilter

Bradley Lowekamp blowekamp at mail.nih.gov
Fri May 23 09:55:53 EDT 2014


Hello,

That filter is instantiated over all normal pixel types, but only for input's of 2D. Can you check what the dimensions is of your input images are? Sometimes a slice is actually a 3D image with one dimension of size 1.

Brad

On May 23, 2014, at 9:48 AM, devis peressutti <devis.peressutti at gmail.com> wrote:

> Dear itk-users,
> 
> I'm using the JoinSeriesImageFilter in SimpleITK to stack a series of 2D slices into a 3D volume but I get the following exception thrown:
> 
> RuntimeError: Exception thrown in SimpleITK JoinSeriesImageFilter_Execute: 
> 
> /scratch/dashboards/SimpleITK-RHEL6-x86_64-pkg-py2.7/SimpleITK/Code/Common/include/sitkMemberFunctionFactory.hxx:180:
> 
> sitk::ERROR: Pixel type: 16-bit unsigned integer is not supported in 3D byN3itk6simple21JoinSeriesImageFilterE
> 
> I tried to cast the 2D images to other PixelType but got same result.
> 
> Any hint would be greatly appreciated.
> 
> Thanks,
> Devis
> 
> 
> _____________________________________
> 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

_____________________________________
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 Community mailing list