public static class ImageryLayer.GammaImageProcessor extends java.lang.Object implements ImageProcessor
Modifier and Type | Field and Description |
---|---|
private double |
gamma |
(package private) short[] |
gammaChange |
private java.awt.image.LookupOp |
op3 |
private java.awt.image.LookupOp |
op4 |
Constructor and Description |
---|
GammaImageProcessor() |
Modifier and Type | Method and Description |
---|---|
double |
getGamma()
Returns the currently set gamma 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 |
setGamma(double gamma)
Sets a new gamma value,
1 stands for no correction. |
java.lang.String |
toString() |
private double gamma
final short[] gammaChange
private final java.awt.image.LookupOp op3
private final java.awt.image.LookupOp op4
public GammaImageProcessor()
public double getGamma()
public void setGamma(double gamma)
1
stands for no correction.gamma
- new gamma 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