[vtkusers] Scale Image Values to [0,1]

HansAusBremen hansausbremen at gmx.net
Thu Sep 15 17:46:00 EDT 2011


Hi everyone,

I'm a vtk beginner and kind of despair of getting the values of an image to
[0,1].

I'm reading in a .raw-File with vtkImageReader, afterwards I want to do the
Scaling so I can use vtkImageThreshold then (which still does not work the
way i want it to either) to select a special range.
Aftwerwards i do MarchingCubes (vtkMarchingCubes) to get a volume and render
with the vtkRenderer after mapping with vtkPolyDataMapper and a vtkActor
plus vtkProperty.

I think I could use a LookUpTable but I'm not familiar with it in vtk.

Thank you for responses.
Hans


--
View this message in context: http://vtk.1045678.n5.nabble.com/Scale-Image-Values-to-0-1-tp4808465p4808465.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list