[Insight-users] simple question

Renaud Isabelle renauisa at yahoo.fr
Tue Aug 9 11:00:01 EDT 2005


Hi,
 
Is it possible to retrieve the input of a filter to make it the input of another filter. Here is what I have:
 
rescaleFilter->SetInput( filterA->GetOutput() );
or
rescaleFilter->SetInput( filterB->GetOutput() ), 
 
filterA and B are histogram equalization filter or log filter depending on the choice of the user. 
 
After having applied a filter to enhance my image, now, I would like to smooth ny enhanced image. So, I would like to have:
 
with filter A or B, 
      smoothingFilter->SetInput( rescaleFilter->GetInput() ), 
                            //filterA->GetOutput() or filterB->GetOutput() 
      rescaleFilter->SetInput( smoothingFilter->GetOutput() )
 
But it seems not to be possible because of converting SmartPointer to ConstPointer. Is there a trick?
 
Isabelle
 


		
---------------------------------
 Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
 Téléchargez le ici !  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050809/9a764bb6/attachment.html


More information about the Insight-users mailing list