[Insight-users] Visualization of vector field

Kishore Mosaliganti kishoreraom at gmail.com
Thu Apr 1 19:48:21 EDT 2010


Hi Stephen,

In Paraview, after you open the mhd file, go to Filters->Alphabetical List
-> Glyph and then apply the filter with suitable settings. I think that
should show arrows.

Kishore

On Thu, Apr 1, 2010 at 5:36 PM, Stephen Yip <stephen.fyip1 at gmail.com> wrote:

> Hi Wes,
>
> I don't know if my question makes sense. Ok. Yes, ParaView can open .mhd
> file.
>
> But my .mhd file is a vector field. I'd like to open it as a vector field
> (arrows) instead of displaying it like a regular image.
>
> Thank you,
> Stephen
>
>
> On Thu, Apr 1, 2010 at 4:25 PM, Wes Turner <wes.turner at kitware.com> wrote:
>
>> Paraview can read .mhd files.  Is there a reason why you need to read the
>> hdr instead of the mhd?
>>
>> - Wes
>>
>> On Thu, Apr 1, 2010 at 5:22 PM, Stephen Yip <stephen.fyip1 at gmail.com>wrote:
>>
>>> Hi,
>>>
>>> I downloaded Paraview as well as VTK for visualization. However, I am
>>> unsure how to use them. I googled for a little bit, but the resources online
>>> aren't very helpful.
>>>
>>> A vector field is obtained from deformable registration using ITK. The x-
>>> and y-components are output as x.hdr and y.hdr respectively. ITK also
>>> produces mhd and raw files of the vector field.
>>>
>>> ParaView doesn't open hdr file. Googling tells me to convert the hdr to
>>> vtk file so that the file can be opened by ParaView.
>>>
>>> I therefore have the following questions:
>>>
>>> 1. Does anyone know how I can convert hdr to vtk file?
>>>
>>> 2. Does anyone know how I can display the vector field without converting
>>> the file type?
>>>
>>>
>>> Thank you,
>>>
>>> Stephen
>>>
>>>
>>> _____________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Wesley D. Turner, Ph.D.
>> Kitware, Inc.
>> Technical Leader
>> 28 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4920
>>
>
>
> _____________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100401/b84dd48d/attachment.htm>


More information about the Insight-users mailing list