[Insight-users] Incorrect deformation field using paraview

Karthik Krishnan karthik.krishnan at kitware.com
Tue Nov 3 10:11:25 EST 2009


On Tue, Nov 3, 2009 at 9:59 AM, motes motes <mort.motes at gmail.com> wrote:

> On Tue, Nov 3, 2009 at 3:40 PM, Karthik Krishnan
> <karthik.krishnan at kitware.com> wrote:
> > On Tue, Nov 3, 2009 at 9:33 AM, motes motes <mort.motes at gmail.com>
> wrote:
> >>
> >> But when I view the .mhd file in paraview I just get:
> >>
> >> http://37133.vs.webtropia.com/apache2-default/test/test0.png
> >>
> >>
> >> In paraview I load the .mhd file. Then I add a calculator and type:
> >>
> >>      coordsX*iHat+coordsY*jHat+0*kHat
> >
> > It should read
> >
> > MetaImage_0*iHat + MetaImage_1*jHat +  0*kHat
> >
> > Choose MetaImage_* from the pull down menu on the calculator. You chose
> > coords (which are simply coordinates of the points, not the scalar values
> of
> > the their components) which perfectly explains the image you see.
>
>
>
>
>
>
> Its not possible to choose MetaImage_* from any menus in the
> calculator.


It is there in the the "Scalars" pull down  menu on the Calculator tab, not
in the attribute menu.


> From the "attribute mode" drop down menu I can choose:
>
> Point data
> cell data
>
> If  I manullay type:
>
> MetaImage_0*iHat + MetaImage_1*jHat +  0*kHat
>
> into the expression editor and press apply I just get a bunch of error:
>

Think its the spaces. In any case, use the menu and select what appears.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091103/706d97a5/attachment-0001.htm>


More information about the Insight-users mailing list