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

devis peressutti devis.peressutti at gmail.com
Fri May 23 10:10:05 EDT 2014


Hi Brad,

Thanks for your reply.

You are right. The dimension is 3 with size 256x256x1.

What would you suggest to get the stack of slices?

Many thanks,
Devis


On 23 May 2014 14:55, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140523/2df2ddf6/attachment-0001.html>


More information about the Insight-users mailing list