[Insight-users] Re-using the process objects

Karthik Krishnan Karthik.Krishnan at kitware.com
Tue Mar 22 09:59:49 EST 2005


Hi Feng,

Yes you can. It has been done in several examples. (for example 
Examples/Filtering/OtsuMultipleThresholdImageFilter.cxx) If the images 
have been modified the an update call on the writer will cause the 
pipeline to be invoked with every call to  update().

thanks
kk
Feng Qiao wrote:

> Dear all,
> I noticed that the examples in ITK often use a separate image 
> reader/writer for each image, for example,  one for the fixed image 
> and one for the moving image. Now if I want to do a batch format 
> conversion on lots of images, all of which are of the same pixel type 
> and dimension, can I simply use one reader/writer for all of them (by 
> keep changing filenames)? If so can anybody point me the right way 
> doing it?
>
> Thanks a lot.
> Feng
>
>
>
> _______________________________________________
> 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