bijnum
Class BIJmi
java.lang.Object
|
+--bijnum.BIJmi
- 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)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
BIJmi
public BIJmi(float min,
float max,
float scale)
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)
Submit a bug or feature
Copyright (c) 1997-2003 Michael Abramoff
Licensing available. All Rights Reserved.