[Insight-users] Bug in DicomSeriesReadSeriesWrite ??
Yi-Yu Chou
yiyu.chou at gmail.com
Thu Aug 16 12:11:33 EDT 2012
I'm reading a 2D DICOM series and writing writing a 2D DICOM series.
On Thu, Aug 16, 2012 at 12:04 PM, Johnson, Hans J <hans-johnson at uiowa.edu>wrote:
> Are you reading into a 2D image? A 2D image only stores 2D origin,
> spacing, etc.
>
> If you want to preserve the 3rd dimension, you will have to read a
> single slice into a 3D image.
>
> I am just guessing that this might be the problem.
>
> Hans
> --
> Hans J. Johnson, Ph.D.
> hans-johnson at uiowa.edu
> Assistant Professor of Psychiatry
> University of Iowa Carver College of Medicine
> W278 GH, 200 Hawkins Drive
> Iowa City, Iowa 52242
> Phone: 319-353-8587
>
> From: Yi-Yu Chou <yiyu.chou at gmail.com>
> Date: Thursday, August 16, 2012 10:54 AM
> To: Xiaofeng Z <xf10036 at outlook.com>
> Cc: ITK Users <insight-users at itk.org>
> Subject: Re: [Insight-users] Bug in DicomSeriesReadSeriesWrite ??
>
> yes. I tried on 2 different datasets, and I got same issues...
>
> On Thu, Aug 16, 2012 at 11:45 AM, Xiaofeng Z <xf10036 at outlook.com> wrote:
>
>> REALLY?
>>
>>
>>
>> ------------------------------
>> Date: Thu, 16 Aug 2012 10:40:26 -0400
>> From: yiyu.chou at gmail.com
>> To: insight-users at itk.org
>> Subject: [Insight-users] Bug in DicomSeriesReadSeriesWrite ??
>>
>>
>> Dear ITK users,
>>
>> I'm playing with DicomSeriesReadSeriesWrite, but I noticed that values in
>> tags
>> "ImagePositionPatient" and "ImageOrientationPatient" were not restored
>> correctly.
>> should be:
>> (0020,0032) DS [112.81570415012\-115.84296800997\110.38483167658]
>> (0020,0037) DS
>> [-0.0484719045791\0.99882454638764\2.34458564e-008\-0.1526400678013...
>> but I got:
>> (0020,0032) DS [112.81570415012\-115.84296800997\0] <-- z-value is 0
>> for all slices
>> (0020,0037) DS [1\0\0\0\1\0]
>>
>> Is it a bug in DICOM IO ?
>> Any suggestions would be greatly appreciated !!!
>> Thanks in advance.
>> YIYU
>> ps. I'm running itk4.2
>>
>> _____________________________________ 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_FAQFollow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>
>
>
> ------------------------------
> Notice: This UI Health Care e-mail (including attachments) is covered by
> the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
> confidential and may be legally privileged. If you are not the intended
> recipient, you are hereby notified that any retention, dissemination,
> distribution, or copying of this communication is strictly prohibited.
> Please reply to the sender that you have received the message in error,
> then delete it. Thank you.
> ------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120816/c4ca0945/attachment.htm>
More information about the Insight-users
mailing list