[Insight-users] Computing statistics on a region of an image

Cyrille Faucheux cyrille.faucheux at etu.univ-tours.fr
Tue Jun 5 10:00:21 EDT 2012


Thanks for the link, but it does not suit my needs. 

I'm computing coocurrence matrices (and trying to improve the actual filter), and it's a bit more complicated than "traditional" statistics : 

For every pixel p1 of an image 
Initialize the coocurrence matrix 
For every pixel p2 of a region centered around p1 
For each pixel p3 located at a predefined offset from p2 
Count (p2, p3) in the coocurrence matrix 

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. 

Le 05/06/2012 14:05, John Drescher a écrit : 


<blockquote>
Hum, too heavy for me. 

There seems to be an example of this here: http://www.farsight-toolkit.org/wiki/Getting_Started_Coding/ITK/Image 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 
</blockquote>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120605/f37eca14/attachment.htm>


More information about the Insight-users mailing list