<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,</div><div><br></div><div>To join a series of 2D image into a 3D volume you can you the JoinImageFilter:</div><div><a href="http://www.itk.org/Insight/Doxygen/html/classitk_1_1JoinImageFilter.html">http://www.itk.org/Insight/Doxygen/html/classitk_1_1JoinImageFilter.html</a></div><div><br></div><div>The extract a 2D image from a 3D volume you can use the ExtractImageFilter:</div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html</a></div><div><br></div><div>To extract a 3D volume from a 3D volume there are a few filter:</div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html</a></div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1RegionOfInterestImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1RegionOfInterestImageFilter.html</a></div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1CropImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1CropImageFilter.html</a></div><div><br></div><div>Hope that helps,</div><div>Brad</div><br><div><div>On Sep 24, 2013, at 11:14 AM, shiwei &lt;<a href="mailto:swingsw89@163.com">swingsw89@163.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><div style="line-height: 1.7; font-size: 14px; font-family: arial; ">Hi,all~<div><span class="Apple-tab-span" style="white-space:pre">        </span>As I first read a 3D Image Volume slice by slice,then after processing each slice I need to change them to a 3D volume for further processing, However,<b> I can't use&nbsp;itk::ImageSeriesReader</b> for my pixeltype now is double and it takes to much time to write out the 2D image first.</div><div>&nbsp; &nbsp; &nbsp; &nbsp;I wonder if there is a class to help me read the 2D slices directly to 3D volume just in the memory.Also, I still eager to know whether there is a class can direclty extract a part of 3D volume from a bigger one.Beacuse IF there is no way to deal with that ,I will have to change all the 2D images to 2D Array then combine them to 3D Array which I think may take a lot of time.</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Do you have any way to figure this out? Thank you all !</div></div><br><br><span title="neteasefoote
 r"><span id="netease_mail_footer"></span></span>_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></blockquote></div><br></body></html>