endrov.hardwareFrivolous
Class FrivolousUtility
java.lang.Object
endrov.hardwareFrivolous.FrivolousUtility
public class FrivolousUtility
- extends java.lang.Object
Utility functions
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 |
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
FrivolousUtility
public FrivolousUtility()
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)