[Insight-users] Structure Tensor in ITK

Karthik Krishnan karthik.krishnan at kitware.com
Fri Jun 4 08:46:19 EDT 2010


No we don't have such a filter. But we do have the GradientImageFilter (or
the GradientRecursiveGaussianImageFilter).

You can iterate over the output pixels (covariant vectors) and take the
outer product of each voxel with itself to construct a
itk::SymmetricSecondRankTensor. You may want to write an operator class for
this (see the several itk*Operator's) available in ITK.

Perhaps you could contribute the resulting filter at the Insight-journal

--
karthik

On Fri, Jun 4, 2010 at 5:48 PM, Sergio Vera <sergio.vera at alma3d.com> wrote:

> Hello
>
> I'm in need of calculating the structure tensor (also called second moment
> matrix) of an image, and it seems that there is not a filter to compute it
> in ITK.
> I've seen the class itk::TensorRelativeAnisotropyImageFilter and I'm not
> sure if it may be related to the structure tensor?
> --
> Sergio Vera
>
> Alma IT Systems
> C/ Vilana, 4B, 4º 1ª
> 08022 Barcelona
> T. (+34) 932 380 592
> www.alma3d.com
>
> _____________________________________
> 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/20100604/46651510/attachment.htm>


More information about the Insight-users mailing list