<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear Luis,<div><br></div><div>Thank you for your suggestion, and I have downloaded slicer and ParaView. However, I still cannot manage to visualize the example images. I provide the head file information and the property parameters I used in Paraview belowing</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><br></div><div>Regards,</div><div><br></div><br>--------------------------------<br>Xi Liang<br><br>梁茜<br>--------------------------------<br><br><br><br><br>> Date: Thu, 3 Dec 2009 21:24:34 -0500<br>> Subject: Re: [Insight-users] Registration example in ITK User guide<br>> From: luis.ibanez@kitware.com<br>> To: liangxi1986317@hotmail.com<br>> CC: insight-users@itk.org<br>> <br>> Hi Xi,<br>> <br>> If the purpose of the visualization is to verify the quality of the<br>> registration,<br>> you simply need to use<br>> <br>> A) the VV application from the Creatis group:<br>> http://www.creatis.insa-lyon.fr/rio/vv<br>> <br>> or<br>> <br>> B) Slicer (http://www.slicer.org)<br>> <br>> <br>> They are both based on ITK and VTK, and have built-in method for<br>> performing visualization of registered images.<br>> <br>> You will find VV described in the following paper in the Insight Journal:<br>> http://www.midasjournal.org/browse/publication/617<br>> <br>> Of course, you can also use ParaView directly.<br>> <br>> Note that ITK can write images in .VTK format,<br>> and they can in turn be read in ParaView (and Slicer and VV)<br>> directly.<br>> <br>> Note also that your current .mha or .mhd image can also<br>> be directly loaded in ParaView, and Slicer, and VV.<br>> <br>> <br>> In summary: You can simply download any of those<br>> three applications and open your current output files<br>> without having to do any further processing on them.<br>> <br>> <br>> <br>> Regards,<br>> <br>> <br>> Luis<br>> <br>> <br>> <br>> ----------------------------------------------------------------------------------------------<br>> On Wed, Dec 2, 2009 at 9:32 PM, Xi LIANG <liangxi1986317@hotmail.com> wrote:<br>> > Dear all,<br>> > Finally I finished compiling and<br>> > building Examples/Registration/DeformableRegistration8.cxx. This is a<br>> > multi-resolution, 3D deformable registration example. I got couple of mha,<br>> > mhd, raw files for fixed, moving, transformed images, and deformation fields<br>> > as output.<br>> > However, I realize what I have done was the easiest part, and<br>> > the visualization is my real problem. Followings are my understanding of<br>> > what I should do<br>> > 1. process mha, raw format of data by VTK, and generates corresponding *.vtk<br>> > files.<br>> > 2. Then visualize VTK files through ParaView or Slicer.<br>> > I doubt that the VTK file I need to write wont be easily done, as Im reading<br>> > the VTK user guide, and the 3D visualization is not an easy sell.<br>> > Is there any other easy choice to visualize the image, since my focus is<br>> > Registration. OR... I really need to work hard on VTK as well, in order to<br>> > evaluate the registration from ITK properly.<br>> ><br>> > Cheers,<br>> > --------------------------------<br>> > Xi Liang<br>> ><br>> > 梁茜<br>> > --------------------------------<br>> ><br>> ><br>> ><br>> > ________________________________<br>> > Windows Live Hotmail: Your friends can get your Facebook updates, right from<br>> > Hotmail®.<br>> > _____________________________________<br>> > Powered by www.kitware.com<br>> ><br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html<br>> ><br>> > Kitware offers ITK Training Courses, for more information visit:<br>> > http://www.kitware.com/products/protraining.html<br>> ><br>> > Please keep messages on-topic and check the ITK FAQ at:<br>> > http://www.itk.org/Wiki/ITK_FAQ<br>> ><br>> > Follow this link to subscribe/unsubscribe:<br>> > http://www.itk.org/mailman/listinfo/insight-users<br>> ><br>> ><br></div>                                            <br /><hr />Windows Live: Keep your friends up to date <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_1:092010' target='_new'>with what you do online.</a></body>
</html>