Hi,<br>you also definitely can load mhd images in ParaView. This is called "Meta Image Data Files (*.mhd, *.mha)".<br><br>Jerome<br><br><div class="gmail_quote">2009/12/3 Bryn Lloyd <span dir="ltr"><<a href="mailto:blloyd@vision.ee.ethz.ch">blloyd@vision.ee.ethz.ch</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">ITK can write VTK image files. The example you mention uses a<br>
itkImageFileWriter, which will write a vtk file automatically, if you<br>
set the filename to foo.vtk<br>
<br>
You can download paraview and slicer in pre-compiled form. So all you<br>
need to do is load your file in one of these programs.<br>
<br>
BTW. I am sure you can load *.mhd (= metaheader) files in slicer<br>
directly, without converting it to a *.vtk file.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
Xi LIANG wrote:<br>
> Dear all,<br>
><br>
> I run one registration example in ITK user guide, and the source code is<br>
> from Examples/Registration/DeformableRegistration8.cxx. It uses<br>
> multi-level and 3D deformable transformation (bspline) and generated the<br>
> deform image (.mhd .raw) and deformation field (.mhd .raw) images and<br>
> some parameter.txt as output.<br>
><br>
> My understanding is that I have to convert all *.mhd into .vtk by some<br>
> VTK program, and than visualize the *.vtk files in Slicers or Paraview.<br>
> I have no idea how complicated this process would be (since it is 3D<br>
> images). Is there any easy way to do this, or this is the only choice.<br>
> If I have to do this, where should I started from.<br>
><br>
> Currently I installed VTK and was am reading VTK user guide now. Any<br>
> suggestions?<br>
><br>
> Regards,<br>
><br>
> --------------------------------<br>
> Xi Liang<br>
><br>
> ÁºÜç<br>
> --------------------------------<br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
> Windows Live: Make it easier for your friends to see what you¡¯re up to<br>
> on Facebook.<br>
</div></div>> <<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_2:092009" target="_blank">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_2:092009</a>><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
<div class="im">><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
</div>> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<div class="im">><br>
> Follow this link to subscribe/unsubscribe:<br>
</div>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
--<br>
-------------------------------------------------<br>
Bryn Lloyd<br>
Computer Vision Laboratory<br>
ETH Z¨¹rich, Sternwartstrasse 7, ETF C110<br>
CH - 8092 Z¨¹rich, Switzerland<br>
Tel: +41 44 63 26668<br>
Fax: +41 44 63 21199<br>
-------------------------------------------------<br>
<div class="im">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
</div>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<div class="im"><br>
Follow this link to subscribe/unsubscribe:<br>
</div><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>