[IGSTK-Users] MetaDataDictionary.
Ashwath Hegde, ERS-HCLTech
Ashwathh at hcl.com
Thu Jul 7 01:30:50 EDT 2011
Hi All,
I am trying to get the MetaDataDictionary from my IGSTK application.But the iterator(itr) is NULL.
Please find the code snippet below.
typedef igstk::CTImageReader ImageReaderType;
typedef itk::MetaDataDictionary DictionaryType;
ImageReaderType::Pointer m_ImageReader;
m_ImageReader = ImageReaderType::New();
m_ImageReader->RequestSetDirectory(strData);
m_ImageReader->RequestReadImage();
DictionaryType & dict = m_ImageReader->GetMetaDataDictionary();//working
DictionaryType::ConstIterator itr = dictionary.Begin();//not working,itr is NULL
What am I doing wrong? Can anybody help me on this.
Thanking in Advance,
Ashwath
________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20110707/bc46c7b4/attachment.htm>
More information about the IGSTK-Users
mailing list