[Insight-users] Bug in DicomSeriesReadSeriesWrite ??
Johnson, Hans J
hans-johnson at uiowa.edu
Thu Aug 16 12:04:08 EDT 2012
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<mailto: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<mailto:yiyu.chou at gmail.com>>
Date: Thursday, August 16, 2012 10:54 AM
To: Xiaofeng Z <xf10036 at outlook.com<mailto:xf10036 at outlook.com>>
Cc: ITK Users <insight-users at itk.org<mailto: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<mailto:xf10036 at outlook.com>> wrote:
REALLY?
________________________________
Date: Thu, 16 Aug 2012 10:40:26 -0400
From: yiyu.chou at gmail.com<mailto:yiyu.chou at gmail.com>
To: insight-users at itk.org<mailto: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<http://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
________________________________
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/31e135be/attachment.htm>
More information about the Insight-users
mailing list