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

Iván Macía imacia at vicomtech.org
Fri Dec 5 06:47:49 EST 2008


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SliceBySliceMultiFrame.cxx
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20081205/0b236297/attachment.txt>


More information about the Insight-developers mailing list