Cloned library of VTK-5.0.0 with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
381 B

package require vtk
# Image pipeline
vtkGESignaReader reader
reader SetFileName "$VTK_DATA_ROOT/Data/E07733S002I009.MR"
vtkImageGradientMagnitude gradient
gradient SetDimensionality 2
gradient SetInputConnection [reader GetOutputPort]
vtkImageViewer viewer
viewer SetInputConnection [gradient GetOutputPort]
viewer SetColorWindow 250
viewer SetColorLevel 125
viewer Render