<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>
Thanks for the link, but it does not suit my needs.<br>
<br>
I'm computing coocurrence matrices (and trying to improve the actual
filter), and it's a bit more complicated than "traditional"
statistics :<br>
<br>
For every pixel p1 of an image<br>
Initialize the coocurrence matrix<br>
For every pixel p2 of a region centered around p1<br>
For each pixel p3 located at a predefined offset from p2<br>
Count (p2, p3) in the coocurrence matrix<br>
<br>
I have one filter that works on a specific region (from the second
loop), and I want to embed it insite a composite filter that perform
the first loop.<br>
<br>
Le 05/06/2012 14:05, John Drescher a écrit :
<blockquote cite="mid:CAEhu1-7+H5UnJ7OiV69i+qsb=g-sLvynp5uU-6zEN0i=Ar+k=A@mail.gmail.com">
<blockquote>
<pre>Hum, too heavy for me.
</pre>
</blockquote>
<pre>There seems to be an example of this here:
<a class="moz-txt-link-freetext" href="http://www.farsight-toolkit.org/wiki/Getting_Started_Coding/ITK/Image" target="_blank">http://www.farsight-toolkit.org/wiki/Getting_Started_Coding/ITK/Image</a>
There are no good comments to what is going on but it looks like a
reasonable example for itkLabelStatisticsImageFilter from what I can
tell.
John
</pre>
</blockquote>
</div></body></html>