Hi Nancy,<div><br></div><div>Try using the Maximum Projection filter to convert the 3-d image into a 2-d image by projecting the maximum value along an axis:</div><div>    <a href="http://www.itk.org/Doxygen/html/classitk_1_1MaximumProjectionImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1MaximumProjectionImageFilter.html</a></div>
<div><br></div><div>You can find an example of how to use the filter in the unit test:</div><div>    <a href="http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/Filtering/ImageStatistics/test/itkMaximumProjectionImageFilterTest.cxx">http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/Filtering/ImageStatistics/test/itkMaximumProjectionImageFilterTest.cxx</a></div>
<div><br></div><div>Hope this helps.</div><div><br></div><div>Cheers, Dan</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 November 2012 13:36, Nancy <span dir="ltr">&lt;<a href="mailto:darknancy@163.com" target="_blank">darknancy@163.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial"><div style="line-height:1.7;font-size:14px;font-family:arial">

<div style="line-height:1.7;font-size:14px;font-family:arial">
<div>Hi Nuwan Jayala and everyone,<br>Thank you for you reply.</div>
<div>U answer   very usefully  for me .<br>now ,i<span> use this series of 2d binary image stored to  a 3D dcm image. And by this itkBinaryThinningImageFilter3D,i can see the skeleton,but  the output is not like a 3D model, we only can see every level&#39;s skeleton. i use ImageJ to open the output images,as follows:<img style="WIDTH:200px;min-height:190px" src="cid:1abe4f5b$3$13b20eed002$Coremail$darknancy$163.com"> <img style="WIDTH:200px;min-height:198px" src="cid:444bed14$4$13b20eed002$Coremail$darknancy$163.com"> and so on....</span></div>

<div><span></span> </div>
<div><span>i want this images can look likes a 3D ,for example look like the author&#39;s vessel skeleton, <img src="cid:54b9df13$5$13b20eed002$Coremail$darknancy$163.com"></span></div>
<div><span></span> </div>
<div><span>i am looking forward for you reply! Thanks again!</span></div><span class="HOEnZb"><font color="#888888">
<div><span>Nancy</span></div>
<div><span></span> </div></font></span></div></div></div><br><br><span title="neteasefooter"><span></span></span><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<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></div>