[Insight-users] [Insight-developers] Read large multi-frame image frame by frame using GDCM and ImageFileReader

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Dec 5 08:41:59 EST 2008


RegionOfInterestImageFilter depends on internal implementation details
of each specific ImageIO. I can tell you that I did not implement this
in itk::GDCMImageIO, so this will not work until this is fixed for
this particular ImageIO.

2cts

On Fri, Dec 5, 2008 at 12:47 PM, Iván Macía <imacia at vicomtech.org> wrote:
> Dear Luis,
>
> I tried to do what you said but unfortunately it does not seem work. It
> seems that the streaming capabilities are not working as expected (or I did
> something wrong) because the reader tries to read always all the frames.
> Please find attached my code.
>
> I also tried to set an ImageIORegion explicitly to the ImageIO object but it
> neither worked.
>
> Any ideas?
>
> Thanks in advance
>
> Iván
>
>
> -----Mensaje original-----
> De: Iván Macía [mailto:imacia at vicomtech.org]
> Enviado el: miércoles, 03 de diciembre de 2008 17:11
> Para: 'Luis Ibanez'
> CC: 'insight-users at itk.org'; 'Insight Developers'
> Asunto: RE: [Insight-developers] Read large multi-frame image frame by frame
> using GDCM and ImageFileReader
>
> Dear Luis,
>
> It is a good idea, that would do the job if it works. I will try and let you
> know.
>
> Thanks
>
> Ivan
>
> -----Mensaje original-----
> De: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Enviado el: martes, 02 de diciembre de 2008 16:48
> Para: Iván Macía
> CC: insight-users at itk.org; 'Insight Developers'
> Asunto: Re: [Insight-developers] Read large multi-frame image frame by frame
> using GDCM and ImageFileReader
>
>
> Hi Ivan,
>
> Have you tried connecting a RegionOfInterestImageFilter
> after the ImageFileReader ?
>
> Several months ago we implemented some streaming functionalities
> in the readers to allow for reading only the regions of the image
> that have been requested.
>
> I'm not sure if this was tested on multi-frame DICOM images,
> but it is probably worth giving it a shot.
>
> Please let us know what you find,
>
>
>     Thanks
>
>
>        Luis
>
>
>
> ------------------
> Iván Macía wrote:
>> Dear all,
>>
>>
>>
>> We have found some large multi-frame DICOM images we need to load into
>> our application (about 1500x2500 and 30 frames). Until now we had not
>> considered multi-frame images a problem because the resolution and
>> number of frames tended to be low. However, right now we are facing the
>> need to read these images frame by frame on demand.
>>
>>
>>
>> One problem is that GDCM tries to read all the frames when used from
>> ImageFileReader. Does GDCM support this frame-by-frame reading? Any
>> ideas on how to do this?
>>
>>
>>
>> Thanks in advance
>>
>>
>>
>> Ivan
>>
>>
>>
>>
>>
>> ____________________________________________________________________
>> Iván Macía Oliver
>> Investigador / Researcher
>>
>> Aplicaciones Biomédicas / Biomedical Applications
>>
>>
>>
>> VICOMTech - Visual Interaction and Communication Technologies Center
>> Mikeletegi Pasealekua, 57 - Parque Tecnológico
>> E-20009 Donostia - San Sebastián, Spain
>> Tel: +[34] 943 30 92 30
>> Fax: +[34] 943 30 93 93
>> e-mail: imacia at vicomtech.org <mailto:imacia at vicomtech.org>
>> http://www.vicomtech.org
>>
>>
>>
>> *** member of INI-GraphicsNet ****
>> http://www.inigraphics.net
>> *** member of IK4 Research Alliance ****
>> http://www.ik4.es
>>
>>
>>
>> -------------------------------------------------------------------------
>> VICOMTech is an ISO 9001:2000 certified institute
>> -------------------------------------------------------------------------
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Insight-developers mailing list
>> Insight-developers at itk.org
>> http://www.itk.org/mailman/listinfo/insight-developers
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
>



-- 
Mathieu


More information about the Insight-users mailing list