All Packages Class Hierarchy This Package Previous Next Index
Class com.jhlabs.image.CellularFilter
java.lang.Object
|
+----java.awt.image.ImageFilter
|
+----com.jhlabs.image.WholeImageFilter
|
+----com.jhlabs.image.CellularFilter
- public class CellularFilter
- extends com.jhlabs.image.WholeImageFilter
- implements com.jhlabs.math.Function2D, com.jhlabs.image.MutatableFilter, java.lang.Cloneable, java.io.Serializable
-
CellularFilter.Point
-
-
amount
-
-
angle
-
-
angleCoefficient
-
-
bias
-
-
coefficients
-
-
colormap
-
-
distancePower
-
-
gain
-
-
gridType
-
-
HEXAGONAL
-
-
m00
-
-
m01
-
-
m10
-
-
m11
-
-
OCTAGONAL
-
-
random
-
-
RANDOM
-
-
randomness
-
-
results
-
-
scale
-
-
SQUARE
-
-
stretch
-
-
TRIANGULAR
-
-
turbulence
-
-
useColor
-
-
CellularFilter()
-
-
clone()
-
-
evaluate(double, double)
-
-
getAmount()
-
-
getAngle()
-
-
getAngleCoefficient()
-
-
getCoefficient(int)
-
-
getColormap()
-
-
getDistancePower()
-
-
getGridType()
-
-
getPixel(int, int, int[], int, int)
-
-
getRandomness()
-
-
getScale()
-
-
getStretch()
-
-
getTurbulence()
-
-
imageComplete(int)
-
-
mutate(int, ImageFilter, boolean, boolean)
-
-
setAmount(double)
-
-
setAngle(double)
-
-
setAngleCoefficient(double)
-
-
setCoefficient(int, double)
-
-
setColormap(Colormap)
-
-
setDistancePower(double)
-
-
setGridType(int)
-
-
setRandomness(double)
-
-
setScale(double)
-
-
setStretch(double)
-
-
setTurbulence(double)
-
-
toString()
-
-
turbulence2(double, double, double)
-
scale
protected double scale
stretch
protected double stretch
angle
protected double angle
amount
public double amount
turbulence
public double turbulence
gain
public double gain
bias
public double bias
distancePower
public double distancePower
useColor
public boolean useColor
colormap
protected com.jhlabs.image.Colormap colormap
coefficients
protected double coefficients[]
angleCoefficient
protected double angleCoefficient
random
protected java.util.Random random
m00
protected double m00
m01
protected double m01
m10
protected double m10
m11
protected double m11
results
protected com.jhlabs.image.CellularFilter.Point results[]
randomness
protected double randomness
gridType
protected int gridType
RANDOM
public static final int RANDOM
SQUARE
public static final int SQUARE
HEXAGONAL
public static final int HEXAGONAL
OCTAGONAL
public static final int OCTAGONAL
TRIANGULAR
public static final int TRIANGULAR
CellularFilter
public CellularFilter()
setScale
public void setScale(double scale)
getScale
public double getScale()
setStretch
public void setStretch(double stretch)
getStretch
public double getStretch()
setAngle
public void setAngle(double angle)
getAngle
public double getAngle()
setCoefficient
public void setCoefficient(int i,
double v)
getCoefficient
public double getCoefficient(int i)
setAngleCoefficient
public void setAngleCoefficient(double angleCoefficient)
getAngleCoefficient
public double getAngleCoefficient()
setColormap
public void setColormap(com.jhlabs.image.Colormap colormap)
getColormap
public com.jhlabs.image.Colormap getColormap()
setRandomness
public void setRandomness(double randomness)
getRandomness
public double getRandomness()
setGridType
public void setGridType(int gridType)
getGridType
public int getGridType()
setDistancePower
public void setDistancePower(double distancePower)
getDistancePower
public double getDistancePower()
setTurbulence
public void setTurbulence(double turbulence)
getTurbulence
public double getTurbulence()
setAmount
public void setAmount(double amount)
getAmount
public double getAmount()
evaluate
public double evaluate(double x,
double y)
turbulence2
public double turbulence2(double x,
double y,
double freq)
getPixel
public int getPixel(int x,
int y,
int inPixels[],
int width,
int height)
imageComplete
public void imageComplete(int status)
- Overrides:
- imageComplete in class java.awt.image.ImageFilter
mutate
public void mutate(int amount,
java.awt.image.ImageFilter d,
boolean keepShape,
boolean keepColors)
clone
public java.lang.Object clone()
- Overrides:
- clone in class java.awt.image.ImageFilter
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
All Packages Class Hierarchy This Package Previous Next Index