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.
|
Constructor Summary |
BIJmi(float min,
float max,
float scale)
|
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
mi
public float mi(float[] a,
float[] b)