[vtkusers] DICOM2 to vtk *.raw !!!!Error!!!Help!!!
Joshua Thomas
joshua.j.thomas at gmail.com
Fri Aug 12 08:52:10 EDT 2005
Dear All,
I am using VTK with TCL
I used dicom2 to convert the *.dc into vtk raw format. But in my
folder after converting the *.dc files i can see the file extension of
my 123 files as
im001.dc.raw
But i used the C:\Programfiles\vtk42\medical\tcl\medical1.tcl as an
example to read the images ( convert the im.1 im.2 ........im.123.) Is
this the correct way of doing it?
Now the problem my image size inside the folder temp is 512 X 512 X 123
vtkVolume16Reader v16
v16 SetDataDimensions 512 512
v16 SetDataByteOrderToLittleEndian
v16 SetFilePrefix "$VTK_DATA_ROOT/Data/temp/im"
v16 SetImageRange 1 123
v16 SetDataSpacing 20 20 10
After doing this and i render the output, It took 4- 5 minutes then
POP UP the Error
ERROR:InC:\Martin\vtk42\VTK\Common\VTKDataObject.cxx line 555
vtkImageData[0x02542A9D0]:Whole extent is: 512 512 0 63 0 92
ERROR:InC:\Martin\vtk42\VTK\Common\VTKDataObject.cxx line 556
vtkImageData[0x02542A9D0]:Whole extent is: 512 512 0 63 0 92
..........................................
...............................
Really Need Your Help!!
Thanks in Advance,
JJ
More information about the vtkusers
mailing list