[vtkusers] vtkExtractVOI- extract SetVOI Parameters!!!!

Joshua Thomas joshua.j.thomas at gmail.com
Mon Sep 5 02:39:33 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.  Please click the link

http://kcn.kdupg.edu.my/webpage/staff/jjoshua/extract.jpg 


Need Help!
JJ



More information about the vtkusers mailing list