Thanks for the contributions<br><br>I'll try to implement it and if the result is half decent, the idea was to publish it at the insight journal indeed<br><br>Regards<br><br><div class="gmail_quote">On Fri, Jun 4, 2010 at 2:47 PM, Jeff Donner <span dir="ltr"><<a href="mailto:jeffrey.donner@gmail.com">jeffrey.donner@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Fri, Jun 4, 2010 at 8:18 AM, Sergio Vera <<a href="mailto:sergio.vera@alma3d.com">sergio.vera@alma3d.com</a>> wrote:<br>
> I'm in need of calculating the structure tensor (also called second moment<br>
> matrix) of an image, and it seems that there is not a filter to compute it<br>
> in ITK.<br>
> I've seen the class itk::TensorRelativeAnisotropyImageFilter and I'm not<br>
> sure if it may be related to the structure tensor?<br>
<br>
</div>I found that there was no structure tensor filter in ITK; perhaps<br>
someone could point one out, it was a while since I used ITK. But, in<br>
the meantime I hand-rolled my own (plain code, not filter):<br>
<br>
<a href="http://github.com/JDonner/gabbleduck" target="_blank">http://github.com/JDonner/gabbleduck</a><br>
<br>
in gaussian.cpp and pipeline.cpp.<br>
<br>
It's really too messy to actually recommend to anyone but, it exists<br>
if you want to look at it. The names of things should be reasonable at<br>
least.<br>
<font color="#888888"><br>
Jeff<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>
<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>