[Insight-users] co-occurrence matrix

Glenn Pierce glennpierce@connectfree.co.uk
Sun May 16 22:42:19 EDT 2004


On Sun, 2004-05-16 at 13:22 -0700, Zachary Pincus wrote:
> >  In my code I was storing each pair in it's own MeasurementVector. 
> > However I should have
> >  been increasing the frequency for pairs that are the same. Was this 
> > changed ?
> 
> Would it be better to store a histogram instead of a list? That way the 
> incrementing is done automatically, and one can iterate through at 
> (say) 256x256 histogram and directly create a 256x256 co-occurence 
> image from the bin frequencies. (I assume that's what you want, right?)
> 
> I was planning on looking at the code this afternoon to see if a 
> histogram might work best...
> 


Yeah that I thought initially.

I think I had some trouble implementing it. 
I can't remember the problem I was having - sorry.

Although I think a 2D histogram would be best.

Thanks

Glenn


> Zach
> 





More information about the Insight-users mailing list