[Insight-users] A tee ?

Amy Squillacote amy.squillacote at kitware.com
Tue Apr 11 11:53:12 EDT 2006


Actually, you don't need a special object to do this.  In VTK it's 
referred to as a branching pipeline, and you just pass the output of 
your reader as the input of two separate filters (see below).

- Amy


vtk***Reader reader

vtk***Filter filter1
filter1 SetInputConnection [reader GetOutputPort]

vtk***Filter filter2
filter2 SetInputConnection [reader GetOutputPort]

At 07:33 AM 4/11/2006, Vincent Page wrote:
>Another silly question...
>( time for ex-newbie to answer !)
>
>Is there something like a Tee in ITK ?
>(I swear that I RTFM-ed)
>
>More precisely, is there a way to
>use the same reader + a special object
>so that an image is used by two different filters ?
>
>It seems uneasy to obtain.
>(keeping the pipeline architecture would be tricky...)
>
>Best regards,
>    Vincent.
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users




More information about the Insight-users mailing list