[Insight-users] co-occurrence matrix

Glenn Pierce glennpierce@connectfree.co.uk
Sun May 16 20:57:31 EDT 2004


--=-YrunB/RO6AykcTb8VnT/
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Sun, 2004-05-16 at 15:11 -0400, Luis Ibanez wrote:

> Hi Glenn,
> 
> Thanks for contributing your code to ITK.
> 
> The class has been added under
> 
>      Insight/Code/Numerics/Statistics.
> 
> 


Thanks :)


> 
> Your VTK question wasn't quite clear.
> 
> Do you want to take a VTK image and get a cooccurrence
> matrix out of it using ITK ?
> 
> or, do you want to use VTK for visualizing the
> cooccurrence matrix that you computed with ITK ?



I wanted to visualise the cooccurrence matrix with vtk as a grey scale
image.
So I would be visualising  the frequency for each "pair of intensity
values".  
So pairs that have a greater frequency appear as higher intensities in a
grey level image.

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 ?


Thanks for the help.

Much appreciated


Glenn 

--=-YrunB/RO6AykcTb8VnT/
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.1.12">
</HEAD>
<BODY>
On Sun, 2004-05-16 at 15:11 -0400, Luis Ibanez wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi Glenn,</FONT>

<FONT COLOR="#000000">Thanks for contributing your code to ITK.</FONT>

<FONT COLOR="#000000">The class has been added under</FONT>

<FONT COLOR="#000000">     Insight/Code/Numerics/Statistics.</FONT>


</PRE>
</BLOCKQUOTE>
<BR>
Thanks :)<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>

<FONT COLOR="#000000">Your VTK question wasn't quite clear.</FONT>

<FONT COLOR="#000000">Do you want to take a VTK image and get a cooccurrence</FONT>
<FONT COLOR="#000000">matrix out of it using ITK ?</FONT>

<FONT COLOR="#000000">or, do you want to use VTK for visualizing the</FONT>
<FONT COLOR="#000000">cooccurrence matrix that you computed with ITK ?</FONT>
</PRE>
</BLOCKQUOTE>
<PRE>

</PRE>
I wanted to <FONT COLOR="#000000">visuali</FONT>se the cooccurrence matrix with vtk as a grey scale image.<BR>
So I would be visualising&nbsp; the frequency for each &quot;pair of intensity values&quot;.&nbsp; <BR>
So pairs that have a greater frequency appear as higher intensities in a grey level image.<BR>
<BR>
In my code I was storing each pair in it's own <FONT COLOR="#000000">MeasurementVector</FONT>. However I should have <BR>
been increasing the frequency for pairs that are the same. Was this changed ?<BR>
<BR>
<BR>
Thanks for the help.<BR>
<BR>
Much appreciated<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<FONT COLOR="#0000ff">Glenn </FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-YrunB/RO6AykcTb8VnT/--




More information about the Insight-users mailing list