Class GammaCorrection
- java.lang.Object
-
- org.apache.commons.imaging.formats.png.GammaCorrection
-
public class GammaCorrection extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Logger
LOGGER
private int[]
lookupTable
-
Constructor Summary
Constructors Constructor Description GammaCorrection(double srcGamma, double dstGamma)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
correctARGB(int pixel)
int
correctSample(int sample)
private int
correctSample(int sample, double srcGamma, double dstGamma)
-