<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Dear all:<BR>
<BR>
When I want to get the image data from the output of a itk filter, what's the difference between using<BR>
"filter->GetOutput()->GetBufferPointer()" and using "filter->GetOutput()->GetPixelContainer()->GetImportPointer()"?<BR>
<BR>
I found following description about them in ImportImageContainer calss in itk documentation:<BR>
GetBufferPointer: Return a pointer to the beginning of the buffer. This is used by the image iterator class. <BR>
GetImportPointer: get the pointer from which the image data is imported.<BR>
But I'm still confused. What's the difference between them? Which one I should use to get the image data from itk?<BR>
<BR>
Thanks a lot.<BR><br /><hr />立刻下载 MSN 保护盾,保障 MSN 安全稳定! <a href='http://im.live.cn/safe/' target='_new'>现在就下载!</a></body>
</html>