endrov.hardwareFrivolous
Class FrivolousUtility

java.lang.Object
  extended by endrov.hardwareFrivolous.FrivolousUtility

public class FrivolousUtility
extends java.lang.Object

Utility functions


Field Summary
static int COLOR_ALPHA
           
static int COLOR_BLUE
           
static int COLOR_GREEN
           
static int COLOR_RED
           
 
Constructor Summary
FrivolousUtility()
           
 
Method Summary
static FrivolousComplexArray addRealNoise(FrivolousComplexArray input, FrivolousSettings settings)
           
static float[] getColorArray(java.awt.image.BufferedImage img, int color)
           
static float[] getColorArray(java.awt.image.BufferedImage img, int w, int h, int color)
           
static FrivolousComplexArray getComplexImage(java.awt.image.BufferedImage img)
           
static FrivolousComplexArray getComplexImage(java.awt.image.BufferedImage img, int color)
           
static FrivolousComplexArray getComplexImage(java.lang.String file_name, int color)
           
static java.awt.image.BufferedImage getImageFromComplex(FrivolousComplexArray complex, boolean fromImaginary)
           
static int[] getIntColorArray(java.awt.image.BufferedImage img, int color)
           
static int[] getIntColorArray(java.awt.image.BufferedImage img, int w, int h, int color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLOR_ALPHA

public static final int COLOR_ALPHA
See Also:
Constant Field Values

COLOR_RED

public static final int COLOR_RED
See Also:
Constant Field Values

COLOR_GREEN

public static final int COLOR_GREEN
See Also:
Constant Field Values

COLOR_BLUE

public static final int COLOR_BLUE
See Also:
Constant Field Values
Constructor Detail

FrivolousUtility

public FrivolousUtility()
Method Detail

getComplexImage

public static FrivolousComplexArray getComplexImage(java.lang.String file_name,
                                                    int color)

getComplexImage

public static FrivolousComplexArray getComplexImage(java.awt.image.BufferedImage img,
                                                    int color)

getComplexImage

public static FrivolousComplexArray getComplexImage(java.awt.image.BufferedImage img)

getIntColorArray

public static int[] getIntColorArray(java.awt.image.BufferedImage img,
                                     int color)

getIntColorArray

public static int[] getIntColorArray(java.awt.image.BufferedImage img,
                                     int w,
                                     int h,
                                     int color)

getColorArray

public static float[] getColorArray(java.awt.image.BufferedImage img,
                                    int color)

getColorArray

public static float[] getColorArray(java.awt.image.BufferedImage img,
                                    int w,
                                    int h,
                                    int color)

getImageFromComplex

public static java.awt.image.BufferedImage getImageFromComplex(FrivolousComplexArray complex,
                                                               boolean fromImaginary)

addRealNoise

public static FrivolousComplexArray addRealNoise(FrivolousComplexArray input,
                                                 FrivolousSettings settings)