<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
the problem seems to be that you are using the reader inside a
loop. JoinSeriesImageFilter will have the same pointer to the
reader output for every image and the reader, of course, holds the
last image at the end of the loop. One solution is to create a new
reader for each image by just moving<br>
<span style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><span class="Apple-tab-span"
style="white-space:pre"> </span>ReaderType::Pointer reader = ReaderType::New();<br>
</span><br>
inside the loop.<br>
<br>
Another solution should be calling DisconnectPipeline() on the
reader output.<br>
<br>
HTH<br>
Dominique<br>
<br>
Am 12.10.2013 18:05, schrieb shiwei:<br>
</div>
<blockquote
cite="mid:4b2ed86e.221b5.141ad6a9b9e.Coremail.swingsw89@163.com"
type="cite">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi,All~
<div> Here I got a problem with the
itk::JoinSeriesImageFilter,I read<b> four different 2d images</b>
and want to join them to one 3D Image by using
JoinSeriesImageFilter.However, in the Test example,I finally
got one 3D Image which has four same slices(not four different
one),and it shows that the same slice are the last 2D image
which read in to the memory. Now I'm confused about this ,and
can anyone help me with that? The code is below, Thank you
very much for that!</div>
<div><br>
</div>
<div><span style="color: rgb(0, 0, 255); font-size: 16pt;
font-family: 'Times New Roman';">#include</span><span
style="font-size: 16pt; font-family: 'Times New Roman';"> </span><span
style="color: rgb(163, 21, 21); font-size: 16pt;
font-family: 'Times New Roman';">"itkImage.h"</span></div>
<div class="Section0">
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">#include</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; ">"itkImageFileReader.h"</span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">#include</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; ">"itkImageFileWriter.h"</span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-famil y:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">#include</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; ">"itkJoinSeriesImageFilter.h"</span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">typedef</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> itk::Image< </span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Tim es New Roman'; ">unsigned</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">char</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">, 2 > InputImageType;</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">typedef</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> itk::Image< </span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">unsigned</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt; font
-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">char</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">, 3 > ImageType3D;</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">typedef</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> itk::Image< </span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">unsigned</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255) ;
font-size:16.0000pt; font-family:'Times New Roman'; ">char</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">, 2 > ImageType2D;</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">typedef</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> itk::ImageFileReader< InputImageType > ReaderType;</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">typedef</span><span
style="mso-spacerun:' yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> itk::ImageFileWriter< ImageType3D > WriterType;</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">typedef</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> itk::JoinSeriesImageFilter<ImageType2D, ImageType3D> JoinSeriesImageFilterType;</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">int</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roma n'; "> main()</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">{</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> <span
class="Apple-tab-span" style="white-space:pre"> </span>ReaderType::Pointer reader = ReaderType::New();</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000 pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span> JoinSeriesImageFilterType::Pointer joinFilter = JoinSeriesImageFilterType::New();</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> <span
class="Apple-tab-span" style="white-space:pre"> </span></span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">int</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> slice;</span></p>
<p class="p0" style="margin-bottom:0pt ; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>char</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">* Src=</span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; ">"D:\\ITK_test\\joinseriestest\\bin\\liimage1"</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">;</span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>char</span>
<span style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">* Ipo=</span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; ">"_cor.tif"</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">;</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>char</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">* Ipr=</span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; ">"GFP_"<span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">;</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>char</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">* filename = </span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">new</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">char
</span><span style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">[100];</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>char</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">* writenname=</span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">new</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; ">char<!--
span--><span style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">[100];</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>for</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">(slice=2600;slice<=2605;++slice)</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt; f
ont-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>{</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt; font
-family:'Times New Roman'; "><span class="Apple-tab-span"
style="white-space:pre"> </span>filename[0] = </span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; ">'\0'</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">;</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>sprintf_s(filename,100,</span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; ">"%s\\
%s%05d%s"</span><span style="mso-spacerun:'yes';
font-size:16.0000pt; font-family:'Times New Roman'; ">,Src,Ipr,slice,Ipo);</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt;"><span
class="Apple-tab-span" style="font-family: 'Times New
Roman'; font-size: 16pt; line-height: 1.7; white-space:
pre;"> </span><span style="font-family: 'Times New
Roman'; font-size: 16pt; line-height: 1.7;">reader->SetFileName(filename);</span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>reader->Update();</span></p>
<p cl="" ass="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="font-family: 'Times New Roman'; font-size: 16pt;
line-height: 1.7;"><span class="Apple-tab-span"
style="white-space:pre"> </span>joinFilter->SetInput(slice-2600,reader->GetOutput());</span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>}</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt; f
ont-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>joinFilter->Update();</span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> <span
class="Apple-tab-span" style="white-space:pre"> </span>WriterType::Pointer writer = WriterType::New();</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> </span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> <span
class="Apple-tab-span" style="white-space:pre"> </span>writer->SetFileName( </span><span
style="mso-spacerun:'yes'; color:rgb(163,21,21);
font-size:16.0000pt; font-family:'Times New Roman'; ">"D:\\ITK_test\\joinseriestest\\bin\\26001.tif"</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> );</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="whit e-space:pre"> </span> writer->SetInput(joinFilter->GetOutput());</span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>writer->Update();</span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "></span><span
style="mso-spacerun:'yes'; color:rgb(0,0,255);
font-size:16.0000pt; font-family:'Times New Roman'; "><span
class="Apple-tab-span" style="white-space:pre"> </span>return</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "> 0;</span><span
style="mso-spacerun:'yes'; font-si ze:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; ">}</span><span
style="mso-spacerun:'yes'; font-size:16.0000pt;
font-family:'Times New Roman'; "><o:p></o:p></span></p>
<p class="p0" style="margin-bottom:0pt; margin-top:0pt; "><span
style="mso-spacerun:'yes'; font-size:10.5000pt;
font-family:'Times New Roman'; "> </span></p>
</div>
</div>
<br>
<br>
<span title="neteasefooter"><span id="netease_mail_footer"></span></span>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_____________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Kitware offers ITK Training Courses, for more information visit:
<a class="moz-txt-link-freetext" href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a>
Please keep messages on-topic and check the ITK FAQ at:
<a class="moz-txt-link-freetext" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
</pre>
</blockquote>
<br>
</body>
</html>