Constructor and Description |
---|
RandomFilter(double minimumValue,
double maximumValue)
Create a new random filter with the specified minimum and maximum values.
|
Modifier and Type | Method and Description |
---|---|
double |
filter(java.awt.image.BufferedImage image)
Reduce the specified image to a single value.
|
java.lang.String |
getDescription()
Return the description of this filter.
|
double |
getMaximumValue()
Return the maximum value for this random filter.
|
double |
getMinimumValue()
Return the minimum value for this random filter.
|
public RandomFilter(double minimumValue, double maximumValue)
minimumValue
- minimum value for this random filtermaximumValue
- maximum value for this random filterjava.lang.IllegalArgumentException
- if minimumValue
is greater
than maximumValue
public double getMinimumValue()
public double getMaximumValue()
public double filter(java.awt.image.BufferedImage image)
public java.lang.String getDescription()
Filter
getDescription
in interface Filter