public static class ImageryLayer.GammaImageProcessor extends Object implements ImageProcessor
Modifier and Type | Field and Description |
---|---|
private double |
gamma |
(package private) short[] |
gammaChange |
private LookupOp |
op3 |
private LookupOp |
op4 |
Constructor and Description |
---|
GammaImageProcessor() |
Modifier and Type | Method and Description |
---|---|
double |
getGamma()
Returns the currently set gamma value.
|
BufferedImage |
process(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. |
private double gamma
final short[] gammaChange
public GammaImageProcessor()
public double getGamma()
public void setGamma(double gamma)
1
stands for no correction.gamma
- new gamma valuepublic BufferedImage process(BufferedImage image)
ImageProcessor
Layer
process
in interface ImageProcessor
image
- that should be processed