Yes, as far as I remember: Update calls Generate on all filters (a reader is also a filter) in the pipeline. UpdateOutputInformation calls GenerateOutputInformation, which might be useful if you need properties of an image without reading the actual data, yet.
Best regards Andreas On Mon, 28 Jan 2019, 11:45 Amarnath S <[email protected] wrote: > Hi, > > I am using a rtk::ProjectionsReader as follows: > > typedef float OutputPixelType; > const unsigned int Dimension = 3; > typedef itk::Image< OutputPixelType, Dimension > OutputImageType; > > rtk::ProjectionsReader<OutputImageType>::Pointer projReader; > projReader = rtk::ProjectionsReader<OutputImageType>::New(); > projReader->SetFileNames(fileNames); // filenames is defined and set > earlier > > Now, according to this page > http://www.openrtk.org/Doxygen/classrtk_1_1ProjectionsReader.html, > this class has a GenerateData() method, which does the real work. In the > GitHub rtk-master downloaded last week, this method does not seem to be > present. There is only one method name beginning with Generate..., and it > is GenerateOutputInformation(). What is the new method name for > GenerateData(). If it cannot be called directly, how else is it to be > invoked? Will calling of Update() internally call GenerateData()? > > Thanks and regards > - Amarnath > > _______________________________________________ > Rtk-users mailing list > [email protected] > https://public.kitware.com/mailman/listinfo/rtk-users >
_______________________________________________ Rtk-users mailing list [email protected] https://public.kitware.com/mailman/listinfo/rtk-users
