<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Is it possible to retrieve the input of a filter to make it the input of another filter. Here is what I have:</DIV>
<DIV> </DIV>
<DIV><STRONG>rescaleFilter->SetInput( filterA->GetOutput() );</STRONG></DIV>
<DIV>or</DIV>
<DIV>
<DIV><STRONG>rescaleFilter->SetInput( filterB->GetOutput() ), </STRONG></DIV>
<DIV> </DIV>
<DIV>filterA and B are histogram equalization filter or log filter depending on the choice of the user. </DIV>
<DIV> </DIV>
<DIV>After having applied a filter to enhance my image, now, I would like to smooth ny enhanced image. So, I would like to have:</DIV>
<DIV> </DIV>
<DIV>with filter A or B, </DIV>
<DIV> <STRONG>smoothingFilter->SetInput( rescaleFilter->GetInput() ), </STRONG></DIV>
<DIV> //filterA->GetOutput() or filterB->GetOutput() </DIV>
<DIV> <STRONG>rescaleFilter->SetInput( smoothingFilter->GetOutput() )</STRONG></DIV>
<DIV> </DIV>
<DIV>But it seems not to be possible because of converting SmartPointer to ConstPointer. Is there a trick?</DIV>
<DIV> </DIV>
<DIV>Isabelle</DIV>
<DIV> </DIV></DIV><p>
                <hr size=1>
<b><font color=#FF0000>Appel audio GRATUIT</font> partout dans le monde</b> avec le nouveau Yahoo! Messenger<br>
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com">Téléchargez le ici !</a>