[Insight-users] getmetadata from dicom image with java
wells
jake_wang1013 at 163.com
Thu May 29 04:18:31 EDT 2008
HI, Insight-users:
I try to get metadata information from dicom image using java
language.source code as following:
itkImageFileReaderUS2_Pointer reader =
itkImageFileReaderUS2.itkImageFileReaderUS2_New();
itkGDCMImageIO_Pointer dicomIO = itkGDCMImageIO.itkGDCMImageIO_New();
reader.SetImageIO(dicomIO.GetPointer());
reader.SetFileName("IM-0001-0001.dcm");
reader.Update();
System.out.println(reader.GetMetaDataDictionary());
I get the quote of SWIGTYPE_p_itk__MetaDataDictionary ,but can not
get concrete information.
How can I get and edit the metadata information? can anyone help me!
Thanks!
Name : wells wang
address : Rm. 1808, Jianda Mansion, No.223, Zhongshan Road(N),
Nanjing, China, 210009
Mobile Phone : (+86)013814039704
Wells' Blog : http://blog.163.com/jake_wang1013
More information about the Insight-users
mailing list