bijnum
Class BIJmi

java.lang.Object
  |
  +--bijnum.BIJmi
Direct Known Subclasses:
SearchMI

public class BIJmi
extends java.lang.Object

Mutual infromation processing routines. Copyright (c) 1999-2003, Michael Abramoff. All rights reserved.


Field Summary
protected  int bins
           
protected  float min
           
protected  int n
           
protected  int[] Pu
           
protected  int[] Puv
           
protected  int[] Pv
           
protected  float scale
           
 
Constructor Summary
BIJmi(float min, float max, float scale)
           
 
Method Summary
protected  float computeProbs(int n)
           
 int getBins()
           
 int[] getJointHistogram()
           
static float getNiceScale(float min, float max)
          Get a nice scale leading to a bin size of 128.
 float getScale()
          Get the current scale.
 float mi(float[] a, float[] b)
           
 float mi(short[] a, short[] b)
           
protected  void zeroHistograms()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

protected float min

scale

protected float scale

bins

protected int bins

Pu

protected int[] Pu

Pv

protected int[] Pv

Puv

protected int[] Puv

n

protected int n
Constructor Detail

BIJmi

public BIJmi(float min,
             float max,
             float scale)
Method Detail

getNiceScale

public static float getNiceScale(float min,
                                 float max)
Get a nice scale leading to a bin size of 128.

getJointHistogram

public int[] getJointHistogram()

getBins

public int getBins()

getScale

public float getScale()
Get the current scale.

mi

public float mi(short[] a,
                short[] b)

zeroHistograms

protected void zeroHistograms()

mi

public float mi(float[] a,
                float[] b)

computeProbs

protected float computeProbs(int n)