public class Utility
extends java.lang.Object
Constructor and Description |
---|
Utility() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
getContrastLut(long contrast)
Calculate a lookup table based on contrast parameters
|
static ByteBuffer |
getGammaLut(double gamma)
Calculate a lookup table based on gamma parameters
|
public static ByteBuffer getGammaLut(double gamma) throws ExceptionSet
gamma
- gamma value, range:[0.1, 10.0]ExceptionSet
public static ByteBuffer getContrastLut(long contrast) throws ExceptionSet
contrast
- contrast value, range:[-50, 100]ExceptionSet