<div dir="ltr"><div>Hi,</div><div>Indeed. I think it depends on the options set <a href="https://github.com/SimonRit/RTK/blob/master/itk-module.cmake#L5-L13">here</a>. 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!</div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 19, 2021 at 10:07 PM Eldridge, Bryce D via Rtk-users <<a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div>
<p class="MsoNormal">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:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">./rtkForwardProjections.exe -i /c/dev/ct/linkintone.nrrd -g /c/dev/ct/geometry.xml -o /c/dev/ct/output.tif<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">ExceptionObject caught with reader->Update() in file C:\dev\RTK-2.3.0\applications\rtkforwardprojections\rtkforwardprojections.cxx line 76<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">itk::ImageFileReaderException (000000EE26CFF248)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">Location: "unknown"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">File: C:\dev\InsightToolkit-5.2.1\Modules\IO\ImageBase\include\itkImageFileReader.hxx<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">Line: 133<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">Description:  Could not create IO object for reading file C:/dev/ct/linkintone.nrrd<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">  Tried to create one of the following:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">    GDCMImageIO<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">    MetaImageIO<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">    TIFFImageIO<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">  You probably failed to set a file suffix, or<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Lucida Console"">    set the suffix to an unsupported type.<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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.
<u></u><u></u></p>
</div>
</div>

_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><br>
</blockquote></div>