Hi Kevin,<br> thx for reply<br> i tried the filter-&gt;Modified too but it doesen't refresh it.<br> I'm using a pipeline of filter:<br> <br> &nbsp;&nbsp;&nbsp;<span style="font-style: italic; font-weight: bold;"> m_Hx&nbsp;&nbsp; = GaussianFilterType::New();</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_Hy&nbsp;&nbsp; = GaussianFilterType::New();</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_Hx-&gt;SetDirection( 0 );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_Hy-&gt;SetDirection( 1 );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight:
 bold;">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H1x&nbsp; = GaussianFilterType::New();</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H1x-&gt;SetDirection( 0 );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H1x-&gt;SetOrder( GaussianFilterType::FirstOrder );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H1xy = GaussianFilterType::New();</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H1xy-&gt;SetDirection( 1 );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H1xy-&gt;SetOrder( GaussianFilterType::FirstOrder );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H2x&nbsp; = GaussianFilterType::New();</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H2y&nbsp; = GaussianFilterType::New();</span><br
 style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H2x-&gt;SetDirection( 0 );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H2y-&gt;SetDirection( 1 );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H2x-&gt;SetOrder( GaussianFilterType::SecondOrder );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H2y-&gt;SetOrder( GaussianFilterType::SecondOrder );</span><br style="font-style: italic; font-weight: bold;">
 <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_Hx-&gt;SetInputImage( m_DiasstoledImage );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_Hy-&gt;SetInputImage( m_DiasstoledImage );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H1x-&gt;SetInputImage( m_Hy-&gt;GetOutput() );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight:
 bold;">&nbsp;&nbsp;&nbsp; m_H2x-&gt;SetInputImage( m_Hy-&gt;GetOutput() );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H2y-&gt;SetInputImage( m_Hx-&gt;GetOutput() );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_H1xy-&gt;SetInputImage( m_H1x-&gt;GetOutput() );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_Eigen = EigenFilterType::New();</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp;
 </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_Eigen-&gt;SetInput1( m_H2x-&gt;GetOutput() );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_Eigen-&gt;SetInput2( m_H1xy-&gt;GetOutput() );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_Eigen-&gt;SetInput3( m_H2y-&gt;GetOutput() );</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; SetSigma();</span><br> <br> </span>and this is where i apply the Eigen Filter (On volume):<br> <br> <span style="font-style: italic; font-weight: bold;">void</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">MyAppBase </span><br style="font-style: italic;
 font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">::RunGaussian()</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">{</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">SetSigma();</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">this-&gt;ShowStatus("Application du filtre Gaussien...");</span><br style="font-style: italic; font-weight: bold;"> <br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">for(k=0; k&lt;m_inputimagesize[2]; k++)</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">{</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; pixelIndex[2]=k;</span><br style="font-style: italic;
 font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; for(j=0; j&lt;m_inputimagesize[1]; j++)</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp; m_diasstoledimageindex[1]=j;</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pixelIndex[1]=j;</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; for(i=0; i&lt;m_inputimagesize[0]; i++)</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_diasstoledimageindex[0]=i;</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pixelIndex[0]=i;</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pixelValue = m_ImageReader-&gt;GetOutput()-&gt;GetPixel( pixelIndex );//à partir de l'image originale</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //pixelValue = m_OutputImage-&gt;GetPixel( pixelIndex );//à partir de l'image segmentée</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_DiasstoledImage-&gt;SetPixel(m_diasstoledimageindex,pixelValue);</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; }</span><br style="font-style: italic; font-weight: bold;"> <br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp;<span style="text-decoration: underline; color: rgb(255, 64, 64);"> m_Eigen-&gt;Update();</span></span><br style="font-style: italic; font-weight: bold; text-decoration:
 underline; color: rgb(255, 64, 64);"> <span style="font-style: italic; font-weight: bold; text-decoration: underline; color: rgb(255, 64, 64);">&nbsp;&nbsp;&nbsp; m_Eigen-&gt;Modified();</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; m_outputvolumeindex[2]=k;</span><br style="font-style: italic; font-weight: bold;"> <br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; for(j=0; j&lt;m_inputimagesize[1]; j++)</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_diasstoledimageindex[1]=j;</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight:
 bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_outputvolumeindex[1]=j;</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; for(i=0; i&lt;m_inputimagesize[0]; i++)</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_diasstoledimageindex[0]=i;</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_outputvolumeindex[0]=i;</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 pixelValue = m_Eigen-&gt;GetOutput()-&gt;GetPixel( m_diasstoledimageindex);//à partir de l'image en diasstole filtrée</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_FiltredVolume-&gt;SetPixel(m_outputvolumeindex,pixelValue);</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; }</span><br style="font-style: italic; font-weight: bold;"> <br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">}</span><br style="font-style: italic; font-weight:
 bold;"> <br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">&nbsp;&nbsp;&nbsp; this-&gt;ShowStatus("Application du filtre terminée");</span><br style="font-style: italic; font-weight: bold;"> <span style="font-style: italic; font-weight: bold;">}</span><br style="font-style: italic; font-weight: bold;"> <br> <span style="font-style: italic;"></span>when i visualize the volume, all slices are the same, the first slice isuued from the EigenFilter, so i think the Eigen Filter is not refreshing!<br> could any one help me ?<br> thx for your time,<br> Regards.<br> <br><b><i>"Kevin H. Hobbs" &lt;kevin.hobbs.1@ohiou.edu&gt;</i></b> a écrit&nbsp;:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Wed, 2006-03-15 at 18:12 +0100, charfeddine amir wrote:<br>&gt; Hi all<br>&gt; plz tell me how to refresh a filter?<br>&gt; i try the Update() method , but it refresh only the first
 time, and<br>&gt; keep the same data after,<br>&gt; thx for reply,<br>&gt; Regards.<br>&gt; <br>&gt; <br>filter-&gt;Modified();<br></blockquote><br><p>
                <hr size=1> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com">Téléchargez</a> la version beta.