public class ColorfulImageProcessor extends java.lang.Object implements ImageProcessor
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ColorfulImageProcessor.ColorfulFilter |
Modifier and Type | Field and Description |
---|---|
private double |
colorfulness |
private ColorfulImageProcessor.ColorfulFilter |
op |
Constructor and Description |
---|
ColorfulImageProcessor() |
Modifier and Type | Method and Description |
---|---|
double |
getColorfulness()
Gets the colorfulness value.
|
java.awt.image.BufferedImage |
process(java.awt.image.BufferedImage image)
This method should process given image according to image processors
which is contained in the
Layer |
void |
setColorfulness(double colorfulness)
Sets the colorfulness value.
|
java.lang.String |
toString() |
private ColorfulImageProcessor.ColorfulFilter op
private double colorfulness
public ColorfulImageProcessor()
public double getColorfulness()
public void setColorfulness(double colorfulness)
colorfulness
- The valuepublic java.awt.image.BufferedImage process(java.awt.image.BufferedImage image)
ImageProcessor
Layer
process
in interface ImageProcessor
image
- that should be processedpublic java.lang.String toString()
toString
in class java.lang.Object