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.
 
 
 
 
 
 

35 lines
439 B

package require vtk
# Test the median filter.
# Image pipeline
vtkPNGReader reader
reader SetFileName "$VTK_DATA_ROOT/Data/fullhead15.png"
vtkImageMedian3D median
median SetInputConnection [reader GetOutputPort]
median SetKernelSize 7 7 1
median ReleaseDataFlagOff
vtkImageViewer viewer
#viewer DebugOn
viewer SetInputConnection [median GetOutputPort]
viewer SetColorWindow 2000
viewer SetColorLevel 1000
viewer Render