AW: [Insight-users] How to visualize itk vector fields via ParaView properly?

Karthik Krishnan Karthik.Krishnan at kitware.com
Wed Aug 30 10:35:58 EDT 2006


Floca, Ralf wrote:

>Hi Karthik
>
>Thank you for your quick and valuable help. With your hint and the link you mailed me it worked out fine.
>
>I wonder why I didn't come across this topic when I searched the pipermail archive for hints. Hence sorry for rehashing old topics.
>
>Oh, by the way. Some time ago I thought I have browsed a website where you could find information about planned and/or ongoing itk extensions (and also were able to announce a own one).
>Right now I could only find retrospective information in the itk wiki about the current and former itk versions.
>I just ask because I have to write some components for my own project and it would be a pity - and waste of time - if different groups work separately on doing a similar contribution, instead of working together or spreading over different tasks.
>  
>
There is some info on third party apps using ITK : 
http://www.itk.org/Wiki/ITK_Third_Party_Applications
which by no means is detailed or complete. If you do find more 
information, feel free to add it there

Hope this helps
-karthik

>Do you have any ideas?
>
>Thanks for caring about my concerns.
>
>Best regards,
>
>Ralf o Floca
>
>---------------------------------------------------------------------
>Ralf Floca
>University of Heidelberg                           
>Institute for Medical Biometry and Informatics
>Department of Medical Informatics
>Im Neuenheimer Feld 400            
>D-69120 Heidelberg, Germany             Tel. : +49 (0)6221 56-7484  
>http://www.med.uni-heidelberg.de/mi     Fax  :               -4997    
>ralf.floca at med.uni-heidelberg.de        Sekr.:               -7483
>---------------------------------------------------------------------
>
> 
>
>-----Ursprüngliche Nachricht-----
>Von: Karthik Krishnan [mailto:Karthik.Krishnan at kitware.com] 
>Gesendet: Mittwoch, 30. August 2006 14:49
>An: Floca, Ralf
>Cc: insight-users at itk.org
>Betreff: Re: [Insight-users] How to visualize itk vector fields via ParaView properly?
>
>
>Hi Ralf,
>
>You need to use Filter->Calculator to convert your 2 component dataset 
>to a 3D vector field to be able to glyph it.
>
>See http://public.kitware.com/pipermail/insight-users/2006-April/017464.html
>
>After you do that, you should be able to use the Glyph filter  and the 
>Vector / Scale Modes should be available to you.
>
>Hope this helps.
>-karthik
>
>Floca, Ralf wrote:
>  
>
>>Hi
>>
>>I have generated itk images with itk::vector as pixel type (e.g. the 
>>return of itk::fem::FEMRegistrationFilter<>::GetDeformationField())
>>
>>Afterwards I have saved these deformation fields as a meta images 
>>(*.mhd). For saving the images I used similar code snippets like in 
>>chapter 7.8 of the itkSoftwareGuide 2.2.0.
>>
>>When I load one of these meta images (2D image with 2D vectors) into 
>>ParaView, it shows the norm of vectors. The components of the vector 
>>seems to be available and correct, because in the "Edit Color Map" 
>>menu it has been recognized as vector and I can choose to show single 
>>components of the vector instate of the norm.
>>
>>Now I want to visualize the vectors with a glyph filter. When I add 
>>the glyph filter directly to the reader, the only available orient 
>>mode is "Off", "Vector" is disabled and for "Scale Mode" there is only 
>>"Data Scaling Off" available. As a result of this, I only have 
>>unsigned glyphs instate of glyphs showing the deformation field.
>>
>>The information given in a post with a similar topic
>>(http://public.kitware.com/pipermail/paraview/2004-February/000478.htm
>>l)
>>didn't helped me, because I think I did everything as explained, but
>>wasn't able to properly setup the glyph filter.
>>
>>I would be very thankful, if anybody could give me a clue what I did 
>>wrong.
>>
>>The header of a sample meta image is:
>>
>>ObjectType = Image
>>NDims = 2
>>BinaryData = True
>>BinaryDataByteOrderMSB = False
>>TransformMatrix = 1 0 0 1
>>Offset = 0 0
>>CenterOfRotation = 0 0
>>ElementSpacing = 1 1
>>DimSize = 20 20
>>AnatomicalOrientation = ??
>>ElementNumberOfChannels = 2
>>ElementType = MET_DOUBLE
>>ElementDataFile = sample.raw
>>
>>Best regards,
>>
>>Ralf o Floca
>>
>>---------------------------------------------------------------------
>>Ralf Floca
>>University of Heidelberg                           
>>Institute for Medical Biometry and Informatics
>>Department of Medical Informatics
>>Im Neuenheimer Feld 400            
>>D-69120 Heidelberg, Germany             Tel. : +49 (0)6221 56-7484  
>>http://www.med.uni-heidelberg.de/mi     Fax  :               -4997    
>>ralf.floca at med.uni-heidelberg.de        Sekr.:               -7483
>>---------------------------------------------------------------------
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at itk.org
>>http://www.itk.org/mailman/listinfo/insight-users
>>
>>  
>>    
>>
>
>
>  
>


More information about the Insight-users mailing list