[ITK] tag 0018 | 0088

Jim Qicun Shi jimshiqi at yahoo.com
Thu Jul 16 09:29:19 EDT 2015


Hi Todd,

Thanks for the reply. m_spacing[2] or m_spacing[0] (x dimension), m_spacing[1] (y), m_spacing[2] (z) are parameters from 0028|0030 (x, y) and 0018|0050 (z). But my question is how to re-set 0018|0088.

Best wishes,

Jim

--------------------------------------------
On Thu, 7/16/15, Todd Jensen <todd.jensen at ieee.org> wrote:

 Subject: Re: [ITK] tag 0018 | 0088
 To: community at itk.org
 Date: Thursday, July 16, 2015, 7:52 AM
 
 From: Jim Qicun Shi
 
 Does anyone
 know how to re-set 0018 | 0088 tag in DICOM file? I tried
 the "normal" way ( the way to re-set other tags
 such as 0018 | 0050 and it is ok to re-set.) to set a value,
 0.5, for example, but its value in the output DICOM slices
 is always 1. Why? If not allow to re-set, may I remove the
 tag from DICOM file? My original DICOM is short of this tag.
 I are using ITK 4.7.1.
 For a 2D image the
 itk::GDCMImageIO class will not set the spacing internally.
 I extended this class to re-write the Write() method to use
 the value from the spacing value in the meta-data to set the
 m_Spacing[ 2 ] value.
 Regards,
 Todd Jensen, PhDJensen Informatics LLChttp://www.linkedin.com/in/toddjensen+1 (262) 682-0143todd at jenseninformatics.com
 -----Inline Attachment Follows-----
 
 _______________________________________________
 Community mailing list
 Community at itk.org
 http://public.kitware.com/mailman/listinfo/community
 


More information about the Community mailing list