[vtkusers] Reading vtkImageData from memory!!!

Jesús Spí­nola jspinola at gmail.com
Mon Feb 5 05:35:52 EST 2007


And why not read those images from the dicom files directly using
vtkDICOMImageReader? Another thing you can do is put that image on an array
and build the vtkImageData from that array that contains the image

2007/2/4, Rafael <rlcacuba at gmail.com>:
>
> Hi.
>
> Does somebody know how to read a vtkImageData  using vtkJPEGReader, but
> loading information from memory, not from files???
>
> I need it  because I am writing a medical visualization system. My module
> receives as input a serie of images, which have been extracted from a Dicom
> image.
> I need  to build a vtkImageData   using those images.
>
> Naive solution may be writing those images to the file system and then
> reading  them through methods provided by [vtkJPEGReader], but it is  to
> slow.
>
> I need any way to read a vtkImageData   from memory.
>
> Thanks
>
>
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070205/7d421c67/attachment.htm>


More information about the vtkusers mailing list