<div>Richard,</div>
<div>&nbsp;</div>
<div>ITK does not support volumes with variable spacing. I have worked with the Visible Human data and have handled this issue two ways:</div>
<div>&nbsp;</div>
<div>1) Create multiple 3D volumes each with its own spacing.</div>
<div>2) Resample each 3D volume to a common spacing.</div>
<div>&nbsp;</div>
<div>I resampled the fresh CT Visible Human Male and Female data sets into 1mm pixels and converted them to DICOM. The University of Iowa hosts this data at:</div>
<div><a href="http://mri.radiology.uiowa.edu/VHDicom/index.html">http://mri.radiology.uiowa.edu/VHDicom/index.html</a></div>
<div>&nbsp;</div>
<div>Bill<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 2/28/07, <b class="gmail_sendername">Sims Richard (RKB) Clinical Scientist</b> &lt;<a href="mailto:Richard.Sims@uhcw.nhs.uk">Richard.Sims@uhcw.nhs.uk</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-GB" vlink="purple" link="blue">
<div>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I&#39;m wondering whether anyone can help me...</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">...I have some visible human data of the head and would like to create 3D volumes prior to performing a registration. The details of the registration are not important at this stage, what I am more concerned with is the finer details behind the 2D slices that create the volume. 
</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">One of the datasets (frozen CT) has a constant image spacing for the 100 or so slices I am interested in (e.g. 0.55mm/pixel), whereas the other dataset (normal, fresh CT) has variable image spacing (
e.g. 0.55-0.75mm/pixel). I have written a small matlab script to read in the *.txt file that is provided with each 2D data file to create a separate *.mha file that is then used with a script similar to the ImageSeriesReadWrite.cxx
 example script to create a 3D dicom file. </span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">When I check the header of the newly created 3D dicom file there are only one pair of values for the image spacing, presumably of the final image slice that was used to compile it. Does the newly created dicom file contain the correct image spacing for all slices, or are they all stored at the displayed value (therefore rendering the file useless)?
</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">If this is the case, is there any way around it apart from creating several smaller 3D dicom volumes?</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Many thanks in advance,</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Richard.</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></p></div></div>
<p><font face="Arial" size="2">DISCLAIMER: This e-mail and any attachments hereto are confidential and may contain proprietary information or be legally privileged. This e-mail is for the exclusive use of the intended recipient(s) only. If you are not the intended recipient(s) you must not use, copy, print or rely on this message or any attachment or disclose the content to any other person. If you have received this e-mail in error please notify the author by replying to this e-mail or contact us on 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:info@uhcw.nhs.uk" target="_blank">info@uhcw.nhs.uk</a>. </font></p><br>_______________________________________________<br>Insight-users mailing list<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">
http://www.itk.org/mailman/listinfo/insight-users</a><br><br></blockquote></div><br>