[Insight-users] Structure Tensor in ITK

Dženan Zukić dzenanz at gmail.com
Mon Jun 27 05:06:05 EDT 2011


I have done what you have suggested, I think. The class implementation is
attached. If anyone has some comments they are welcome.

Dženan

On Fri, Jun 4, 2010 at 14:46, Karthik Krishnan <karthik.krishnan at kitware.com
> wrote:

> 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
>>
>>
>
>
>
>
> _____________________________________
> 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/20110627/af44c551/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkStructureTensorImageFilter.h
Type: text/x-chdr
Size: 2180 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110627/af44c551/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkStructureTensorImageFilter.txx
Type: application/octet-stream
Size: 1407 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110627/af44c551/attachment.obj>


More information about the Insight-users mailing list