[Insight-users] reader is wrapped but not the writer?

Zhitao Li zhitaoli.hust at gmail.com
Thu Dec 20 14:05:02 EST 2012


Hi all,

I have experienced problems when writing out DICOM image series, every
pixel having a value lower than 48 will be set to 48. I don't think it is
just me, I tested on 2 machines.
To reproduce this bug, just try out the examples in the itk.

Thanks.

Sincerely
Li
On Dec 20, 2012 12:00 PM, "Li, Wen" <WLi at childrensnational.org> wrote:

> **
>
> Thanks!
>
> But where can I find the patch?...
>
> Wen
>
> Postdoctoral Fellow
> Bioengineering, Sheikh Zayed Institute
> Children's National Medical Center
> 111 Michigan Ave. NW
> Washington DC, 20010
> Email: wli at cnmc.org
> Phone: 202-476-1268
>
>
>
>
> -----Original Message-----
> From: Bradley Lowekamp [mailto:blowekamp at mail.nih.gov<blowekamp at mail.nih.gov>
> ]
> Sent: Thu 12/20/2012 1:33 PM
> To: Li, Wen
> Cc: insight-users at itk.org
> Subject: Re: [Insight-users] reader is wrapped but not the writer?
>
> Hello,
>
> I quickly have put together the following patch. I have things compile but
> I have not really tested it yet.
>
> Modules/IO/ImageBase/wrapping/itkImageSeriesWriter.wrap
>
> Let me know if it works,
> Brad
>
> On Dec 20, 2012, at 10:52 AM, "Li, Wen" <WLi at childrensnational.org> wrote:
>
> > Hi insight-users,
> >
> > I am using ITK4.2.0 with python 2.7.
> >
> > Just discovered that itkImageSeriesWriter is not wrapped by python but
> the reader is :(
> >
> > Can anyone tell me how to hack that? Otherwise how can I write out a
> dicom image with python?
> >
> > Thanks in advance,
> > Wen
> >
> > Postdoctoral Fellow
> > Bioengineering, Sheikh Zayed Institute
> > Children's National Medical Center
> > 111 Michigan Ave. NW
> > Washington DC, 20010
> > Email: wli at cnmc.org
> > Phone: 202-476-1268
> >
> >
> >
> > _____________________________________
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121220/6e7911e8/attachment.htm>


More information about the Insight-users mailing list