[Insight-users] Storing Filter Outputs in vectors

Matt McCormick matt at mmmccormick.com
Thu Feb 10 23:40:11 EST 2011


> Hi Alexis,
> 
> I don't see where you are instantiating VTKToITKConnector.  Note that you must
> instantiate it within the loop because the output image for a filter is created
> when the filter is created.  

PS.  It would also be good practice to call ->DisconnectedPipeline() before 
putting the image in the vector.






More information about the Insight-users mailing list