analysis
Class GrayLevelFeatureExtraction

java.lang.Object
  extended by analysis.GrayLevelFeatureExtraction

public class GrayLevelFeatureExtraction
extends java.lang.Object

Author:
Jonathan L Dautrich Jr.

Field Summary
(package private) static int outCount
           
 
Constructor Summary
GrayLevelFeatureExtraction()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static java.lang.String trimNameSuffix(java.lang.String x)
          Trims the first four characters off of the string and removes anything after any hyphen.
static void writeArray(java.lang.String arrayName, java.io.FileWriter writer, double[] array)
           
private static double[] writeData(java.lang.String encodingClass, java.io.File file, java.io.FileWriter writer, int diagCount)
           
static void writeMatrix(double[][] matrix, java.lang.String filename)
           
private static void writeMeanAndVariances(java.io.FileWriter writer, double[][] features)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outCount

static int outCount
Constructor Detail

GrayLevelFeatureExtraction

public GrayLevelFeatureExtraction()
Method Detail

main

public static void main(java.lang.String[] args)

writeMeanAndVariances

private static void writeMeanAndVariances(java.io.FileWriter writer,
                                          double[][] features)
                                   throws java.io.IOException
Throws:
java.io.IOException

writeData

private static double[] writeData(java.lang.String encodingClass,
                                  java.io.File file,
                                  java.io.FileWriter writer,
                                  int diagCount)
                           throws java.lang.Exception
Throws:
java.lang.Exception

trimNameSuffix

public static java.lang.String trimNameSuffix(java.lang.String x)
Trims the first four characters off of the string and removes anything after any hyphen.

Parameters:
x -

writeMatrix

public static void writeMatrix(double[][] matrix,
                               java.lang.String filename)

writeArray

public static void writeArray(java.lang.String arrayName,
                              java.io.FileWriter writer,
                              double[] array)
                       throws java.io.IOException
Throws:
java.io.IOException