[Insight-users] Using paraview to view magnitude of deformation field?
Luis Ibanez
luis.ibanez at kitware.com
Sun Nov 1 18:27:11 EST 2009
Hi Motes,
1) Please verify that you are not using "custom bin ranges",
in the "Properties" tab of the Histogram filter.
It may be that you selected a range that doesn't includes
all pixel possible magnitudes.
2) If that still doesn't help, you may want to post this question
to the Paraview mailing list,
http://www.paraview.org/mailman/listinfo/paraview
where Paraview Gurus will be likely to enlighten us.
Thanks
Luis
------------------------------------------------------------------
On Fri, Oct 30, 2009 at 4:20 PM, motes motes <mort.motes at gmail.com> wrote:
> I have created a deformation field after running the
> BSplineWarping1.cxx example on a 2D image. I have then followed:
>
> http://www.itk.org/pipermail/insight-users/2008-June/026264.html
>
> but just with my .mhd file instead. The result in paraview is this
> deformation field:
>
> http://img4.imageshack.us/img4/2471/39113360.png
>
>
> Now I would like to create a histogram of the magnitude of the
> deformations. I have therefore selected: Filters->Data
> Analysis->Histogram. Under display I have selected:
> GlyphVector_average(Magnitude) which gives me this:
>
>
> http://img59.imageshack.us/img59/1350/knowndeformationmagnitu.png
>
> But i don't understand the above histogram. Is the x-axis the
> magnitude in pixels and the y-axis the number of vectors with that
> magnitude? Since the image is 512*512 I would expected to get a
> histogram for 512*512=262144 vectors. But that does not quite add up
> from the above screenshot.
>
>
>
>
> I assume I would get the same result using paraview compared to the
> steps described here:
>
> http://www.itk.org/pipermail/insight-users/2006-May/017872.html
> _____________________________________
> 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
>
More information about the Insight-users
mailing list