<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">There is also the JoinSeriesImageFilter. Here is how I have used it before:<div><br></div><div><div><br></div><div>&nbsp;&nbsp;typedef itk::JoinSeriesImageFilter&lt;InputImageType, InputVolumeType> JoinSeriesFilterType;</div><div>&nbsp;&nbsp;JoinSeriesFilterType::Pointer joinSeries = JoinSeriesFilterType::New();</div><div>&nbsp;&nbsp;joinSeries->SetOrigin(inputOrigin[2]);</div><div>&nbsp;&nbsp;joinSeries->SetSpacing(inputSpacing[2]);</div><div>&nbsp;&nbsp;</div><div><div>&nbsp;&nbsp;for (unsigned int z = 0; z &lt; sliceTransforms.size(); ++z) {</div><div><br></div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;typedef itk::ExtractImageFilter&lt;InputVolumeType, InputImageType> SlicerExtractorType;</div><div>&nbsp;&nbsp; &nbsp;SlicerExtractorType::Pointer sliceImageExtractor = SlicerExtractorType::New();</div><div>&nbsp;&nbsp; &nbsp;SlicerExtractorType::InputImageRegionType sliceSubRegion(inputVolume->GetLargestPossibleRegion());</div><div>&nbsp;&nbsp; &nbsp;sliceSubRegion.SetSize(2, 0);</div><div>&nbsp;&nbsp; &nbsp;sliceSubRegion.SetIndex(2, z); &nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;sliceImageExtractor->SetExtractionRegion(sliceSubRegion);</div><div>&nbsp;&nbsp; &nbsp;sliceImageExtractor->SetInput(inputVolume);&nbsp;</div><div>&nbsp;&nbsp; &nbsp;sliceImageExtractor->Update();</div><div><br></div><div>&nbsp;&nbsp; &nbsp;... resampling of the slices...</div><div>&nbsp;&nbsp; &nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;joinSeries->PushBackInput(resample->GetOutput());</div><div>&nbsp;&nbsp;}</div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp;joinSeries->Update();</div><div><br></div><div><br></div></div><div>Hopefully one of the suggestions will work well for you.</div><div><br></div><div>Brad</div><div><br><div><div>On Apr 29, 2009, at 4:13 PM, Bill Lorensen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Or you could use itkTileImageFilter. Note the last sentence in the<br>documentation.<br><br>/** \class TileImageFilter<br> * \brief Tile multiple input images into a single output image.<br> *<br> * This filter will tile multiple images using a user-specified<br> * layout. The tile sizes will be large enough to accommodate the<br> * largest image for each tile. The layout is specified with the<br> * SetLayout method. The layout has the same dimension as the output<br> * image. If all entries of the layout are positive, the tiled output<br> * will contain the exact number of tiles. If the layout contains a 0<br> * in the last dimension, the filter will compute a size that will<br> * accommodate all of the images. Empty tiles are filled with the<br> * value specified with the SetDefault value method. The input images<br> * must have a dimension less than or equal to the output image. The<br> * output image have a larger dimension than the input images. This<br> * filter can be used to create a volume from a series of inputs by<br> * specifying a layout of 1,1,0.<br> */<br><br><br>On Tue, Apr 28, 2009 at 1:41 PM, Luis Ibanez &lt;<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>> wrote:<br><blockquote type="cite">Hi Luis,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">It is a bit more complicated than that.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You will need to put the filter in a for loop,<br></blockquote><blockquote type="cite">where you iterate over all the slices.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Inside the loop you take the output of the<br></blockquote><blockquote type="cite">PasteImageFilter and reconnect it as a new<br></blockquote><blockquote type="cite">input.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">In Pseudo code it will look something like:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;ImageType::Pointer wholeImage;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;for-loop<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;{<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;pasteFilter->SetInput1( wholeImage );<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;pasteFilter->SetInput2( slice_i );<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;pasteFilter->Update();<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;wholeImage = pasterFilter->GetOutupt();<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;wholeImage->DisconnectPipeline();<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;}<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&nbsp; Regards,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;Luis<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--------------------------<br></blockquote><blockquote type="cite">Luis Roberto P. Paula wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">After that, all I need to do is to call the SetInput for each slice and,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">at the end, call the Update method?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Luis<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Tue, Apr 21, 2009 at 10:06 AM, Luis Ibanez &lt;<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a>>> wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;Hi Luis,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;You should instantiate the Paste filter in 3D.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;Since you are going to paste 2D slices into a 3D image,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;you need to set up the filter in such a way that a 2D<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;image is seen as a 3D image of a single slice.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp;Regards,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Luis<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;-----------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;Luis Roberto P. Paula wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;Hi Luis,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;I'm a little confused on how to use the itkPasteImageFilter.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;At first, I created the typedef:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;typedef itk::PasteImageFilter&lt; ImageType2D > PasteFilter2D;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;Then:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PasteFilter2D::Pointer paste2D = PasteFilter2D::New();<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// I'm lost in this part<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for (int i; i &lt; VECTOR_SIZE; i++) {<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; paste2D->SetInput( IMAGE2D_VECTOR[i] );<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;How do I make the output of the paste2D be a 3D image?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;Do I need to set to the destination image a 3D blank image?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;The destination index affects the output?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;I thought it would work like the add method of the std:vector<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;class with an output as a 3D image, but it seems that it can<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;return an image with the same dimension.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;Thanks,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;Luis<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;On Fri, Apr 17, 2009 at 3:36 PM, Luis Ibanez<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;&lt;luis.ibanez@kitware.com &lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a>><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a>>>> wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Hi Luis,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Yes,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the same should work for pasting 3D images into to 4D images.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Regards,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Luis<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ---------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Luis Roberto P. Paula wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thanks Luis!! This is a much better approach<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;(itkPasteImageFilter).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I guess it works the same way from 3D to 4D, right?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Regards,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Luis<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; On Thu, Apr 16, 2009 at 1:59 PM, Luis Ibanez<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;luis.ibanez@kitware.com &lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a>><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a> &lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a>>><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a>><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:luis.ibanez@kitware.com">mailto:luis.ibanez@kitware.com</a>>>>> wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hi Luis,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If your images are in individual 2D files, then<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;you could simply use the ImageSeriesReader.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If your images are in an array of 2D images in<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;memory, then you may want to use the Paste<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;filter:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://itk.org/Doxygen/html/itkPasteImageFilter_8h.html">http://itk.org/Doxygen/html/itkPasteImageFilter_8h.html</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;You will have to call it multiple times...<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;once per input slice.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Regards,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Luis<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;---------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Luis Roberto P. Paula wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hi All,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I have a set of 2D images in axial orientation and<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;I want to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;create a 3D volume with this images.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;It would be de reverse operation of the class<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExtractImageFilter.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Does anybody knows how to do it?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Thanks in advance,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Luis<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp;------------------------------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_____________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Powered by <a href="http://www.kitware.com">www.kitware.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="http://www.kitware.com">http://www.kitware.com</a>> &lt;<a href="http://www.kitware.com">http://www.kitware.com</a>><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="http://www.kitware.com">http://www.kitware.com</a>><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Visit other Kitware open-source projects at<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Please keep messages on-topic and check the ITK<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp;FAQ at:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Follow this link to subscribe/unsubscribe:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite">_____________________________________<br></blockquote><blockquote type="cite">Powered by <a href="http://www.kitware.com">www.kitware.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Visit other Kitware open-source projects at<br></blockquote><blockquote type="cite"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Please keep messages on-topic and check the ITK FAQ at:<br></blockquote><blockquote type="cite"><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Follow this link to subscribe/unsubscribe:<br></blockquote><blockquote type="cite"><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></blockquote><blockquote type="cite"><br></blockquote>_____________________________________<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>Please keep messages on-topic and check the ITK FAQ at: 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></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">========================================================</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Bradley Lowekamp<span class="Apple-converted-space">&nbsp;</span><span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font class="Apple-style-span" face="Arial"><span class="Apple-style-span" style="font-family: Arial; "><span class="Apple-style-span" style="font-family: Arial; ">Lockheed Martin&nbsp;</span></span></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Contractor for</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Office of High Performance Computing and Communications</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">National Library of Medicine<span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p><br class="Apple-interchange-newline"></span></div></span> </div><br></div></div></body></html>