<div dir="ltr"><div><div>Hi Matt,<br><br></div>I'm trying to read a single slice from a multi-frame DICOM, so there is only 1 file on disk, containing multiple slices.<br><br></div><div>I have tried connecting an itk::ExtractImageFilter to the itk::ImageFileReader and only updating the ExtractImageFilter requesting the region of a single slice, but the GDCMImageIO reads the entire 3D image.<br>
</div><div><br></div>Regards,<br><br>Andrew Ward.<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 March 2014 09:57, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andrew,<div><br></div><div>This example [1], but only inputting a subset of the files to reader->SetFileNames is one approach.</div>
<div><br></div><div>HTH,</div><div>Matt</div><div><br></div><div>[1] <a href="http://www.itk.org/Doxygen/html/IO_2DicomSeriesReadImageWrite2_8cxx-example.html" target="_blank">http://www.itk.org/Doxygen/html/IO_2DicomSeriesReadImageWrite2_8cxx-example.html</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Mar 13, 2014 at 9:39 PM, Andrew Ward <span dir="ltr"><<a href="mailto:andrew.derek.ward@gmail.com" target="_blank">andrew.derek.ward@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>Is it possible to use itk::ImageFileReader with itk::GDCMImageIO (or any other ITK classes) to read a single slice from a multi-frame DICOM file without loading the entire file?<br>
<br></div>I noticed this old bug report:<br><a href="https://issues.itk.org/jira/browse/ITK-290" target="_blank">https://issues.itk.org/jira/browse/ITK-290</a><br><br></div>But thought there may be an alternative approach to get around this problem?<br>
<br></div>Regards,<br><br>Andrew Ward.<br><br></div>
<br></div></div>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>