comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Implementation of G Statistic in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Implementation of G Statistic in IDL [message #60836] Fri, 20 June 2008 07:53
crd319 is currently offline  crd319
Messages: 5
Registered: June 2008
Junior Member
http://www.mediateam.oulu.fi/publications/pdf/16.pdf
This is the original paper with the equation in it, since the other
one is somewhat difficult to read.
Chris

On Jun 20, 10:43 am, crd...@gmail.com wrote:
> I am working on a project which involves comparing two regions of an
> image by means of a "G statistic"  The equation I am to use is as
> follows:
>
> E_(variable) denotes a Sigma (Summation) with variable as its
> condition
>
> ie:
> -------
> \
> /
> -------
> variable
>
> s,m are two histograms (256x8 2D histograms)
> i is a bin number
> f_i is the frequency at bin i
>
> The equation, as defined in the paper I'm using, is:
>
> G = 2*( [E_s,m E_i f_i log f_i] -[E_s,m (E_i f_i) log (E_i f_i)] -
> [E_i (E_s,m f_i) log (E_s,m f_i) ] +
> [(E_s,m E_i f_i) log (E_s,m E_i f_i) ]
>
> I am trying to perform this comparison within a computer program but I
> am unsure of the logical flow of it, mostly since there are 3
> variables (s,m,i) but only one is explicitly shown to be used.  I am
> not familiar with this complex of a problem so if anyone could help my
> try and decipher this equation, I would be grateful
>
> Chris
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Implementation of G Statistic in IDL
Next Topic: Re: Can't pass data with CALL_EXTERNAL to C function

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:28:47 PDT 2025

Total time taken to generate the page: 0.00438 seconds