[vtkusers] Cache downsampled image set

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Thu Jun 21 10:59:17 EDT 2001


Do
ImageReader->ImageShrink->Rest of Pipeline
set ImageReader->SetReleaseDataFlag(1)
Then call Update at the far end. ImageShrink will do it's stuff (loading 
all data in, shrinking and then release the original source = imagereader 
output). This'll free up lots (1.3GB in your case) of memory and only the 
remaining ImageShrunk (+ downstream data) version will be filling your memory.

JB


At 19:32 20/06/2001, TJ Wilkinson wrote:
>I have an image set that is 1.3GB.  I would like to downsample it into a
>new volume and cache that volume in memory.  I have been successful in all
>this except for loading the entire downsampled volume into memory.  Even
>with vtkImageStreamer (whose documentation is a bit sparse), when I call
>update() to hopefully load the DOWNSAMPLED volume into memory, it must try
>and load the entire set at some point.
>
>If anyone has any experience with large data sets, streaming, or working
>around a problem like that I described, please let me know what your
>solution is.
>
>Sincerely,
>
>Todd
>
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list