<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 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 visualize 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 <---- I am not sure whether this is correct</div><div>Data Scalar Type: unsigned char</div><div>Data Byte Order: LittleEndian </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 <----- I deduct one from the DimSize</div><div>Number of Scalar Components: 1</div><div>Scalar Array Name: ImageFile <-----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>> Date: Sun, 6 Dec 2009 17:17:38 -0700<br>> Subject: Re: [vtkusers] Any existing VTK code for example image in ITK<br>> From: david.gobbi@gmail.com<br>> To: liangxi1986317@hotmail.com<br>> CC: vtkusers@vtk.org<br>> <br>> 2009/12/6 Xi LIANG <liangxi1986317@hotmail.com>:<br>> > Dear all,<br>> > I am trying to visualize the 3D medical image provided<br>> > in http://public.kitware.com/pub/itk/Data/BrainWeb/<br>> > Is there a template (or similar) to visualize this example?<br>> > The header information is<br>> > NDims = 3<br>> > DimSize = 181 217 180<br>> > ElementType = MET_UCHAR<br>> > ElementSpacing = 1.0 1.0 1.0<br>> > ElementByteOrderMSB = False<br>> > ElementDataFile = brainweb1e1a10f20.raw<br>> <br>> My favorite image-viewing example in VTK is this one:<br>> Examples/ImageProcessing/Python/ImageSlicing.py<br>> <br>> Also, for the brainweb images, I recommend that you use the original<br>> MINC images rather than the raw versions that ITK keeps in its data<br>> directory.<br>> <br>> http://www.bic.mni.mcgill.ca/brainweb/<br>> <br>> You can use the vtkMINCImageReader to read them, and that is much<br>> easier than working with raw images.<br>> <br>> 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>