<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I want to retrieve some information from dicom header, for example I can get<BR>
the patient weight correctly:<BR>
<BR>
entryId = "0010|1030";<BR> double patientweight = 0.;<BR>
tagItr = dictionary.Find( entryId );<BR>
<BR>
but when I want to get the information like this, I can get the error <BR>
inforamtion.<BR>
entryId = "0018|1072";<BR>
tagItr = dictionary.Find( entryId );<BR>
if( tagItr == end )<BR> {<BR> std::cerr << "Tag " << entryId;<BR> std::cerr << " not found in the DICOM header" << std::endl;<BR> return EXIT_FAILURE;<BR> }<BR><BR>
<BR>
The header ifor displayed in ImageJ like this:<BR>
<BR>0054,0013 Energy Window Range Sequence: <BR>0054,0014 Energy Window Lower Limit: 350 <BR>0054,0015 Energy Window Upper Limit: 650 <BR>0054,0016 Radiopharmaceutical Information Sequence: <BR>0018,1072 Radionuclide Start Time: 090748.000000 <BR>0018,1074 Radionuclide Total Dose: 370500000 <BR>0018,1075 Radionuclide Half Life: 6586.2<BR>0018,1076 Radionuclide Positron Fraction: 0 <BR>0054,0300 Radionuclide Code Sequence: <BR>0054,0081 Number of Slices: 262<BR>0054,0410 Patient Orientation Code Sequence: <BR><BR><RTE_TEXT></RTE_TEXT><br /><hr />更多热辣资讯尽在新版MSN首页! <a href='http://cn.msn.com/' target='_new'>立刻访问!</a></body>
</html>