[vtkusers] about minimizing memory usage

Lic. José M. Rodriguez Bacallao jmrbcu at gmail.com
Fri Mar 11 17:03:09 EST 2011


and what about "Extents", how to set an extent to the image reader?

On Fri, Mar 11, 2011 at 4:57 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> In general, VTK does not support sliding window cacheing like
> you are describing.  It will unload the three images and then
> load three new images (where two of the images were ones that
> had previously been loaded).  You would have to write your own
> VTK class to implement a cacheing system like the one that
> you want.
>
>  - David
>
> On Fri, Mar 11, 2011 at 11:21 AM, Lic. José M. Rodriguez Bacallao
> <jmrbcu at gmail.com> wrote:
>> hi folks, I am writing a simple dicom viewer with vtk and gdcm. I am
>> using vtkGDCMImageReader to load my files in conjunction with
>> IPPSorter. For minimizing memory usage I need to have in memory just
>> three images from for example, 200, when the user need to see the
>> slice 3 + 1, then load the next slice and unload the old first loaded
>> slice from the old 3 slices and so on. Is something like a dynamically
>> moving update extent. How do I achieve that in vtk?.
>>
>> --
>> Lic. José M. Rodriguez Bacallao
>> Centro de Biofisica Medica
>> -----------------------------------------------------------------
>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
>>
>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>> por profesionales
>> -----------------------------------------------------------------
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>



-- 
Lic. José M. Rodriguez Bacallao
Centro de Biofisica Medica
-----------------------------------------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.

Recuerda: El arca de Noe fue construida por aficionados, el titanic
por profesionales
-----------------------------------------------------------------



More information about the vtkusers mailing list