[ITK Community] [Insight-users] Reading a single slice from a multi-frame DICOM

Andrew Ward andrew.derek.ward at gmail.com
Mon Mar 17 17:37:55 EDT 2014


Hi Matt,

I'm trying to read a single slice from a multi-frame DICOM, so there is
only 1 file on disk, containing multiple slices.

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.

Regards,

Andrew Ward.



On 18 March 2014 09:57, Matt McCormick <matt.mccormick at kitware.com> wrote:

> Hi Andrew,
>
> This example [1], but only inputting a subset of the files to
> reader->SetFileNames is one approach.
>
> HTH,
> Matt
>
> [1]
> http://www.itk.org/Doxygen/html/IO_2DicomSeriesReadImageWrite2_8cxx-example.html
>
>
> On Thu, Mar 13, 2014 at 9:39 PM, Andrew Ward <andrew.derek.ward at gmail.com>wrote:
>
>> Hello,
>>
>> 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?
>>
>> I noticed this old bug report:
>> https://issues.itk.org/jira/browse/ITK-290
>>
>> But thought there may be an alternative approach to get around this
>> problem?
>>
>> Regards,
>>
>> Andrew Ward.
>>
>>
>> _______________________________________________
>> Community mailing list
>> Community at itk.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140318/fe94d577/attachment-0002.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list