[vtkusers] vtkExtractVOI How to set parameters?
Joshua Thomas
joshua.j.thomas at gmail.com
Tue Sep 6 01:07:28 EDT 2005
Dear All,
I am using vtk with TCL.
please find the below link:
http://kcn.kdupg.edu.my/webpage/staff/jjoshua/face.jpg
I tried to use vtkExtractVOI filter to take of the pillow covering the
baby face.
The volume dimensions are 512 X 512 X 123 Slices.
vtkVolume16Reader v16
v16 SetDataDimensions 512 512
v16 SetDataByteOrderToLittleEndian
v16 SetFilePrefix "$VTK_DATA_ROOT/Data/temp/im"
v16 SetImageRange 1 123
v16 SetDataSpacing 50 50 1.25
vtkExtractVOI extract
# extract SetInput [V16 GetOutput]
extract SetVOI 0 300 0 300 50 50 (My problem is here)
extract SetInput [v16 GetOutput]
extract SetSampleRate 2 2 2
Thanks in Advance,
JJ
More information about the vtkusers
mailing list