public class ColorfulImageProcessor extends java.lang.Object implements ImageProcessor, SessionAwareReadApply
Modifier and Type | Field and Description |
---|---|
private double |
colorfulness |
private ColorfulFilter |
op |
Constructor and Description |
---|
ColorfulImageProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
applyFromPropertiesMap(java.util.Map<java.lang.String,java.lang.String> properties)
Import settings from a map of properties.
|
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.util.Map<java.lang.String,java.lang.String> |
toPropertiesMap()
Export settings to a map of properties.
|
java.lang.String |
toString() |
private 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
process
in interface ImageProcessor
image
- that should be processedpublic void applyFromPropertiesMap(java.util.Map<java.lang.String,java.lang.String> properties)
SessionAwareReadApply
applyFromPropertiesMap
in interface SessionAwareReadApply
properties
- properties mappublic java.util.Map<java.lang.String,java.lang.String> toPropertiesMap()
SessionAwareReadApply
toPropertiesMap
in interface SessionAwareReadApply
public java.lang.String toString()
toString
in class java.lang.Object