[Insight-users] Registration example in ITK User guide

Xi LIANG liangxi1986317 at hotmail.com
Sun Dec 6 19:08:11 EST 2009


Dear Luis,
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
The followings are head file informationsNDims = 3DimSize = 181 217 180ElementType = MET_UCHARElementSpacing = 1.0 1.0 1.0ElementByteOrderMSB = FalseElementDataFile = brainweb1e1a10f20.raw

The following are the parameters I used int he property tab. (Kitware ParaView 3.6.1)File Prefix: dir/brainweb1e1a10f20.rawFile Pattern: %s    <---- I am not sure whether this is correctData Scalar Type: unsigned charData Byte Order: LittleEndian File Dimensionality: 3Data Origin: 0 0 0Data Spacing: 1 1 1Data Extent 0 180 0 216 0 179  <----- I deduct one from the DimSizeNumber of Scalar Components: 1Scalar Array Name: ImageFile  <-----Not sure about thisFile Lower Left (ticked)
Then or others are by default
Regards,

--------------------------------
Xi Liang

梁茜
--------------------------------




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


More information about the Insight-users mailing list