[Insight-users] ImageImportFilter

Hari Sundar hsundar at seas.upenn.edu
Tue, 30 Dec 2003 16:43:15 -0500


Hi,

I am trying to integrate itk with some other C++ code that I already 
have. I basically need to have an itk ImageToImageFilter pipeline 
integrated into my current application. That is I input an image buffer 
into the pipeline and need to get the filtered image buffer back.

I plan on using the ImportImageFilter for this. I have 2 buffers ...

unsigned short * buff_in;
unsigned short * buff_out;

I set up the input buffer the way it is described in the software guide. 
example Image5.cxx

How do I get the output of the filter into my buffer buff_out ?

thanks,

-Hari