<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear David,<div><br></div><div>Thank you for your suggestion. I have tried&nbsp;Examples/ImageProcessing/Python/ImageSlicing.cxx, and I assume I have to slice the 3D image to 2D slices files . eg. brain.1 brain.2...</div><div><br></div><div>Then I tried on Paraview, h<span class="Apple-style-span" style="font-family: Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">owever, I still cannot manage to visualize the example images. I provide the head file information and the property parameters I used in Paraview in the end.</span></div><div><span class="Apple-style-span" style="font-family: Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); "><div><br></div><div>Finally and finally, I manage to&nbsp;visualize&nbsp;the image by 3D Slicer, and I need to work a little bit hard to visualizing the deformation here. Any suggestion about this?</div><div><br></div><div><br></div><div>The followings are head file informations</div><div><div>NDims = 3</div><div>DimSize = 181 217 180</div><div>ElementType = MET_UCHAR</div><div>ElementSpacing = 1.0 1.0 1.0</div><div>ElementByteOrderMSB = False</div><div>ElementDataFile = brainweb1e1a10f20.raw</div><div><br></div><div><br></div><div>The following are the parameters I used int he property tab. (Kitware ParaView 3.6.1)</div><div>File Prefix: dir/brainweb1e1a10f20.raw</div><div>File Pattern: %s &nbsp; &nbsp;&lt;---- I am not sure whether this is correct</div><div>Data Scalar Type: unsigned char</div><div>Data Byte Order: LittleEndian&nbsp;</div><div>File Dimensionality: 3</div><div>Data Origin: 0 0 0</div><div>Data Spacing: 1 1 1</div><div>Data Extent 0 180 0 216 0 179 &nbsp;&lt;----- I deduct one from the DimSize</div><div>Number of Scalar Components: 1</div><div>Scalar Array Name: ImageFile &nbsp;&lt;-----Not sure about this</div><div>File Lower Left (ticked)</div><div><br></div><div>Then or others are by default</div></div></span><br><br>--------------------------------<br>Xi Liang<br><br>ÁºÜç<br>--------------------------------<br><br><br><br><br>&gt; Date: Sun, 6 Dec 2009 17:17:38 -0700<br>&gt; Subject: Re: [vtkusers] Any existing VTK code for example image in ITK<br>&gt; From: david.gobbi@gmail.com<br>&gt; To: liangxi1986317@hotmail.com<br>&gt; CC: vtkusers@vtk.org<br>&gt; <br>&gt; 2009/12/6 Xi LIANG &lt;liangxi1986317@hotmail.com&gt;:<br>&gt; &gt; Dear all,<br>&gt; &gt; I am trying to visualize the 3D medical image provided<br>&gt; &gt; in&nbsp;http://public.kitware.com/pub/itk/Data/BrainWeb/<br>&gt; &gt; Is there a template (or similar) to visualize this example?<br>&gt; &gt; The header information is<br>&gt; &gt; NDims = 3<br>&gt; &gt; DimSize = 181 217 180<br>&gt; &gt; ElementType = MET_UCHAR<br>&gt; &gt; ElementSpacing = 1.0 1.0 1.0<br>&gt; &gt; ElementByteOrderMSB = False<br>&gt; &gt; ElementDataFile = brainweb1e1a10f20.raw<br>&gt; <br>&gt; My favorite image-viewing example in VTK is this one:<br>&gt; Examples/ImageProcessing/Python/ImageSlicing.py<br>&gt; <br>&gt; Also, for the brainweb images, I recommend that you use the original<br>&gt; MINC images rather than the raw versions that ITK keeps in its data<br>&gt; directory.<br>&gt; <br>&gt; http://www.bic.mni.mcgill.ca/brainweb/<br>&gt; <br>&gt; You can use the vtkMINCImageReader to read them, and that is much<br>&gt; easier than working with raw images.<br>&gt; <br>&gt;     David<br></div>                                               <br /><hr />Keep your friends updated¡ª <a href='http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010' target='_new'>even when you¡¯re not signed in.</a></body>
</html>