[Rtk-users] Regarding rtk::ProjectionsReader

Amarnath S amarnaths161 at gmail.com
Mon Jan 28 11:45:40 CET 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20190128/8fa02a62/attachment.htm>


More information about the Rtk-users mailing list