[vtkusers] vtkExtractVOI Filter to Reduce outter cover

Joshua Thomas joshua.j.thomas at gmail.com
Sun Sep 4 23:08:43 EDT 2005


Dear all,

I am using TCL with Vtk.

I read a volume of images using vtkVolume16Reader.

vtkVolume16Reader v16
  v16 SetDataDimensions 512 512 
  v16 SetDataByteOrderToLittleEndian 
  v16 SetFilePrefix  "$VTK_DATA_ROOT/Data/temp/001"
  v16 SetImageRange 1 123
  v16 SetDataSpacing  0.55 0.65 1.60

My image dimensions are 512 X 512 X 123 . I can render the image but i
would like to reduce a outter cover of the image. I am using
vtkExtractVOI filter
vtkExtractVOI extract
  extract SetVOI  0 512 0 512 100 100
  extract SetInput [v16 GetOutput]
  extract SetSampleRate 1 1 1

I am in a confusion state how to set the parameters. Can anyone give
me a help file. I already checked with some examples by using

http://public.kitware.com/VTK/doc/release/4.2/html/c2_vtk_t_2.html#c2_vtk_t_vtkExtractVOI

Need your help!
JJ



More information about the vtkusers mailing list