[Rtk-users] Problem with rtkGgoFunctions when importing series of images

Notargiacomo Thibault gnthibault at gmail.com
Mon Nov 2 08:08:42 EST 2015


I recently experienced the following problem, when importing multiple tif
files inside a directory using itk::ImageSeriesReader:

[...]
code/rtkGgoFunctions.h: In instantiation of ‘void
rtk::SetProjectionsReaderFromGgo(typename TProjectionsReaderType::Pointer,
const TArgsInfo&)
[...]
code/rtkGgoFunctions.h:121:61: error: no type named
‘OutputImageDirectionType’ in ‘class
itk::ImageSeriesReader<itk::Image<short unsigned int, 3u> >’
   typename TProjectionsReaderType::OutputImageDirectionType direction;
[...]

It seems that, a new functionality added in rtkGgoFunctions.h (19/05/2015),
allowing to directly modify input images properties through command line,
like geometry (direction vector), assumes that the input image type defines
OutputImageDirectionType, but in the case of itk::ImageSeriesReader, it
does not.

Is this considered as a regression, or should the
SetProjectionsReaderFromGgo function be used with specific input image type
?

Thank you in advance for your help.

Kind regards

Thibault Notargiacomo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20151102/6cad3583/attachment-0009.html>


More information about the Rtk-users mailing list