public class Matrix2Color
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
missingValueColor |
static float |
threshold_zvalue |
Constructor and Description |
---|
Matrix2Color() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Color |
colorForNumber(float number,
float positive_thresh,
float negative_thresh) |
static float |
getNegativeThreshold(float[] numbers) |
static float |
getNegativeThreshold(float[][] matrix) |
static float |
getPositiveThreshold(float[] numbers) |
static float |
getPositiveThreshold(float[][] matrix) |
static float[][] |
loadMatrixFromFile(java.lang.String fn) |
static void |
main(java.lang.String[] args) |
static float[] |
matrix2Vector(float[][] matrix) |
public static float threshold_zvalue
public static java.awt.Color missingValueColor
public static void main(java.lang.String[] args)
args
- public static float getPositiveThreshold(float[][] matrix)
public static float getPositiveThreshold(float[] numbers)
public static float getNegativeThreshold(float[][] matrix)
public static float getNegativeThreshold(float[] numbers)
public static float[] matrix2Vector(float[][] matrix)
public static java.awt.Color colorForNumber(float number, float positive_thresh, float negative_thresh)
public static float[][] loadMatrixFromFile(java.lang.String fn) throws java.lang.Exception
java.lang.Exception