I have another question. For the 3D dicom file, can I use the header file from the origianl dicom RT dose file which has only 1 header but many frames? Thanks,<div><br></div><div>Ming<br><br><div class="gmail_quote">On Mon, Nov 2, 2009 at 11:55 AM, Ming Chao <span dir="ltr">&lt;<a href="mailto:mingchao2005@gmail.com">mingchao2005@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks Harvey,<div><br></div><div>It is a research project. Is there an example showing how to build a dicom header in ITK? I may not be reading carefully enough. Thanks,</div>
<div><br></div><div><font color="#888888">Ming</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Nov 2, 2009 at 11:23 AM, Harvey Cline <span dir="ltr">&lt;<a href="mailto:harvey.cline@kitware.com" target="_blank">harvey.cline@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Ming<br>
<br>
There is nothing wrong with what you did; however, in order to create<br>
a 3D dicom image you need the header information of the dicom series<br>
images that you do not have. This information could be constructed<br>
however in medical imaging it is dangerous to modify the DICOM headers<br>
because of the posibility of errors influencing treatment.<br>
<br>
If this is research only and not to be used clinically, then you can<br>
build the header information for the missing slices and solve your<br>
problem<br>
<br>
Hope this helps<br>
<font color="#888888"><br>
Harvey<br>
</font><div><div></div><div><br>
On Mon, Nov 2, 2009 at 10:02 AM, Ming Chao &lt;<a href="mailto:mingchao2005@gmail.com" target="_blank">mingchao2005@gmail.com</a>&gt; wrote:<br>
&gt; Hi Harvey,<br>
&gt; Thanks for your input.<br>
&gt; I don&#39;t have a series of DICOM images, but only one 3D vtk format image (RT<br>
&gt; dose) containing 200 slices, which was originally an RT dose file<br>
&gt; (multiframe). What I want to do is to save this vtk image (RT dose) in DICOM<br>
&gt; format using the header information from the original DICOM RT file. My<br>
&gt; problem is that I could use the series writer to save it in DICOM format,<br>
&gt; however only one frame has correct info, the rest frames are just empty. Is<br>
&gt; there anything wrong in what I did?<br>
&gt; Thanks,<br>
&gt; Ming<br>
&gt;<br>
&gt; On Sun, Nov 1, 2009 at 11:37 PM, Harvey Cline &lt;<a href="mailto:harvey.cline@kitware.com" target="_blank">harvey.cline@kitware.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Ming<br>
&gt;&gt;<br>
&gt;&gt; Using the ITK example in IO to read a series of DICOM images and<br>
&gt;&gt; writing out a file using dimension = 3, a 3D DICOM file is created by<br>
&gt;&gt; selecting an output file name with a &quot;dcm&quot; extension.<br>
&gt;&gt;<br>
&gt;&gt; Hope this helps<br>
&gt;&gt;<br>
&gt;&gt; Harvey<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Oct 29, 2009 at 2:30 PM, Ming Chao &lt;<a href="mailto:mingchao2005@gmail.com" target="_blank">mingchao2005@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hello ITKers,<br>
&gt;&gt; &gt; Is it possible to write a 3D volumetric image file into one dicom file<br>
&gt;&gt; &gt; in<br>
&gt;&gt; &gt; itk? Thanks,<br>
&gt;&gt; &gt; Ming<br>
&gt;&gt; &gt; _____________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>