<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi, GDCMers<BR>
<BR>
I am new to GDCM and try to load some Sequence data using C++. I tried ITK before and unfortunately, they do not support sequence items, so I turn to GDCM.<BR>
Gladly, I can load most sequence data using GDCM. But still occasionally there some information especially some slices of "ContourData" are not loaded and denoted as "Bad Ptr".<BR>
I also use Matlab to load the same file, it works and I can see the contour information of that slice.<BR>
<BR>
So this likely conflict confuses me a lot. Could some one give me some hint on how to load these info using GDCM.<BR>
<BR>
Here is the code: ( 0036 0050 is ContourData, ContourSeq is ContourSequence 0036, 0040 )<BR>
<BR>
gdcm::SQItem *temp = ContourSeq->GetSQItem(j);<BR> gdcm::DataEntry *ContourSlice = temp->GetDataEntry(0x0036, 0x0050);<BR>
<BR>
Thank you for your input<BR>
<BR>
Siqi<RTE_TEXT></RTE_TEXT><BR><br /><hr />使用新一代 Windows Live Messenger 轻松交流和共享! <a href='http://im.live.cn/' target='_new'>立刻下载!</a></body>
</html>