[Rtk-users] Could not create IO object when using rtkForwardProjections application with NRRD file
Simon Rit
simon.rit at creatis.insa-lyon.fr
Sat Nov 20 05:33:34 EST 2021
Hi,
Indeed. I think it depends on the options set here
<https://github.com/SimonRit/RTK/blob/master/itk-module.cmake#L5-L13>. You
can add NRRD on your local compilation but I don't think it is of general
interest to add all IO factories. If you build your own application, you
can add it to your own program!
Simon
On Fri, Nov 19, 2021 at 10:07 PM Eldridge, Bryce D via Rtk-users <
rtk-users at public.kitware.com> wrote:
> I’m trying to use the rtkForwardProjections application, and I got ITK and
> RTK compiled and mostly working, but when I try to run the
> rtkForwardProjections tool I get this error:
>
>
>
> ./rtkForwardProjections.exe -i /c/dev/ct/linkintone.nrrd -g
> /c/dev/ct/geometry.xml -o /c/dev/ct/output.tif
>
> ExceptionObject caught with reader->Update() in file
> C:\dev\RTK-2.3.0\applications\rtkforwardprojections\rtkforwardprojections.cxx
> line 76
>
>
>
> itk::ImageFileReaderException (000000EE26CFF248)
>
> Location: "unknown"
>
> File:
> C:\dev\InsightToolkit-5.2.1\Modules\IO\ImageBase\include\itkImageFileReader.hxx
>
> Line: 133
>
> Description: Could not create IO object for reading file
> C:/dev/ct/linkintone.nrrd
>
> Tried to create one of the following:
>
> GDCMImageIO
>
> MetaImageIO
>
> TIFFImageIO
>
> You probably failed to set a file suffix, or
>
> set the suffix to an unsupported type.
>
>
>
> It looks like it is not finding the NRRD reader, but so far I haven’t seen
> any options in CMake for including that and I’m not sure where to look
> next. I’m pretty sure it should be able to load NRRD files.
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> https://public.kitware.com/mailman/listinfo/rtk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20211120/82c53eed/attachment.htm>
More information about the Rtk-users
mailing list