<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body bgcolor="#FFFFFF">
As you probably know DICOM files are much more than a simple "image", with
a long and complex "header" covering the "medical context" of the image.
<br>Before putting them in the graphics pipeline you should extract the
pure "image data" from the files.
<p>1) Either you first convert all the .dcm files into .raw using the freeware
dicom2 by S. Barré (see <a href="http://www.barre.nom.fr/medical/dicom2/">http://www.barre.nom.fr/medical/dicom2/</a>
, of course this is a tip valid only if you are under Windows)
<br>2) or the 3D Slicer application (freeware from the MIT, see <a href="http://www.slicer.org/">http://www.slicer.org/</a>
) has several "vtkMRML..." VTK classes and if I well remember something
in them should allow direct reading in the graphic pipeline of DICOM series.
<p>Probably there are other solutions as well.
<br>Hope this helps
<br> Stefano Mininel
<p>cspl wrote:
<blockquote TYPE=CITE><style></style>
<font face="Arial"><font size=-1>Dear
friends,</font></font> <font face="Arial"><font size=-1>I am a new
user of vtk.I want to read slices of dicom like series of 50 images with
extension of a slices.They purely raw data .I am trying to read the data
using vtkVolume16Reader.But not solved.I wrote the code like following.Please
help me anybody.</font></font> <font face="Arial"><font size=-1>vtkVolume16Reader
*reader = vtkVolume16Reader::New();</font></font>
<br><font face="Arial"><font size=-1> reader->SetDataByteOrderToLittleEndian();</font></font>
<br><font face="Arial"><font size=-1> reader->SetFilePrefix("C:\\DicomFiles\\ImageFiles\\04081219\\6554888");</font></font>
<br><font face="Arial"><font size=-1> reader->SetFilePattern("dcm");</font></font>
<br><font face="Arial"><font size=-1> reader->SetImageRange(6554888,6555788);</font></font>
<br><font face="Arial"><font size=-1> reader->SetDataSpacing(1,1,1);</font></font>
<br><font face="Arial"><font size=-1> reader->SetDataDimensions(256,256);</font></font> <font face="Arial"><font size=-1>Thanking
you,</font></font> <font face="Arial"><font size=-1>Regards,</font></font><font face="Arial"><font size=-1>Ramakrishna</font></font></blockquote>
</body>
</html>