mpi.fruitfly.general
Class ArrayConverter

java.lang.Object
  extended by mpi.fruitfly.general.ArrayConverter

public class ArrayConverter
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2006

Company:


Constructor Summary
ArrayConverter()
           
 
Method Summary
static double[][] oneDimArrayToTwoDimArray(double[] filter, int width, int height)
           
static double[][] oneDimArrayToTwoDimArrayInvert(double[] filter, int width, int height)
           
static double[] twoDimArrayToOneDimArray(double[][] filter)
           
static float[] twoDimArrayToOneDimArray(float[][] filter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayConverter

public ArrayConverter()
Method Detail

twoDimArrayToOneDimArray

public static float[] twoDimArrayToOneDimArray(float[][] filter)

twoDimArrayToOneDimArray

public static double[] twoDimArrayToOneDimArray(double[][] filter)

oneDimArrayToTwoDimArray

public static double[][] oneDimArrayToTwoDimArray(double[] filter,
                                                  int width,
                                                  int height)

oneDimArrayToTwoDimArrayInvert

public static double[][] oneDimArrayToTwoDimArrayInvert(double[] filter,
                                                        int width,
                                                        int height)