[vtkusers] (volume) data value rescale function?
Lisa Avila
lisa.avila at kitware.com
Wed Nov 6 15:36:36 EST 2002
Hello Sebastien,
You can use vtkImageShiftScale.
Lisa
At 09:46 AM 11/4/2002, sebaaihb at mailbox.zrz.tu-berlin.de wrote:
>Hi all,
>
>is there a function to rescale volume data values as follows: Supposed the
>data range of my data is 0-255, I would want to extract the voxels with
>values 50-150 and rescale these to 0-255.
>In IDL, for example, I would use the
>BYTSCL ( Array [, MAX=value] [, MIN=value] [, /NAN] [, TOP=value] )
> function for this. Is there something similar in VTK?
>
>Thanks for all tips,
>
>Sebastian
>
>_______________________________________________
>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