[Insight-developers] Questions about importing.

Mark Foskey mark_foskey@unc.edu
Mon, 17 Mar 2003 16:27:54 -0500


In the ImportImageFilter class, why is there not a SetImportPointer() 
method that takes a const pointer for the import buffer?  Since most of 
our filters are not in-place, the data will typically not be modified 
anyway -- am I right?

Also, what kind of situation favors using an ImportImageContainer 
rather than an ImportImageFilter, and vice versa?  My gut reaction is 
to use the Filter when possible, since it's the ITK Way, but I don't 
have a sense for what would require the Container, or conversely what 
you give up by using it instead of the filter.

-- 
Mark Foskey    (919) 843-5436  Computer-Aided Diagnosis and Display Lab
mark_foskey@unc.edu            Department of Radiology, CB 7515, UNC
http://www.cs.unc.edu/~foskey  Chapel Hill, NC  27599-7515