Dear Woo-jin,<br><br>&gt;&gt; e.g. when I using the itkImageSeriesReader&nbsp;&nbsp; and loaded the series of PNG image<br>&gt;&gt; how can I get the pointer to the raw data?<p>I am afraid I did not understand your query correctly.</p>
<p>You can look into the example on itkImageSeriesReader available at:<br>ITK\Examples\IO\DicomSeriesReadPrintTags.cxx</p>The code looks like this:<br>typedef&nbsp; itk::Image&lt; PixelType, Dimension &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageType;<br>typedef&nbsp; itk::ImageSeriesReader&lt; ImageType &gt;&nbsp; ReaderType<br>
ReaderType::Pointer reader = ReaderType::New();<br><br>// Then generate the file names using the FileGetInputFieNames, as in the example.<br>reader-&gt;SetFileNames( fileNames );<br>&nbsp;reader-&gt;Update();<br><br>You do not have to seperately get the pointer to the loaded image;<br>
the variable &quot;reader&quot; itself is the pointer to your raw data.<br><br>Does that answer your question?<br><br>Warm regards,<br>Subrahmanyam Gorthi.<br><br><br><br><br><div class="gmail_quote">On Fri, Jul 4, 2008 at 3:39 PM, LeeWoojin &lt;<a href="mailto:lwj0616@naver.com">lwj0616@naver.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-size: 8pt; font-family: Gulim,AppleGothic,sans-serif;"><p>Hello &nbsp;ITK users.</p>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I just want to get the pointer to the raw data.</p>
<p>&nbsp;</p>
<p>e.g. when I using the itkImageSeriesReader&nbsp;&nbsp; and loaded the series of PNG image</p>
<p>&nbsp;</p>
<p>how can I get the pointer to the raw data?</p>
<p>&nbsp;</p>
<p>I want to use it&nbsp;with MFC for GUI. I research the itkRegMFC example. but it write to file and re-loaded using CImage class</p>
<p>&nbsp;</p>
<p>It&#39;s not suitability for seriesImage. </p>
<p>&nbsp;</p>
<p>so, could you give me the hint that how can I get the pointer to get the raw data.</p>
<p>&nbsp;</p>
<p>thank you.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Woo-jin</p></div></div>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td colspan="3" height="25"></td></tr>
<tr><td colspan="3" bgcolor="#ececec" height="1"></td></tr>
<tr><td colspan="3" height="12"></td></tr>
<tr><td style="padding-right: 5px;" align="right"><a href="http://www.naver.com/" style="color: rgb(79, 79, 48);" target="_blank"><img src="http://static.naver.com/mail4/lg_happybeen_01.gif" alt="" style="border: medium none ;" height="24" width="53"></a><a href="http://happybean.naver.com/main/SectionMain.nhn" style="color: rgb(79, 79, 48);" target="_blank"><img src="http://static.naver.com/mail4/lg_happybeen_02.gif" alt="" style="border: medium none ;" height="24" width="45"></a></td>
</tr>
<tr><td colspan="3" height="14"></td></tr>
</tbody></table>


                                                                                   
<table><tbody><tr><td><img src="http://mail1.naver.com/newmailcheck/vQYwFoI8+rwvKAE9hAnrpAKmFxv9KqEZpoM9pzMdazF0KqFSpxt/F63vKuIGFou/KxUQar05br0N1HtR+BF0bNFg1B3O74eZpm==.gif" border="0"></td></tr></tbody></table><br>_______________________________________________<br>

Insight-users mailing list<br>
<a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>