![]() | [using it] | Interface Manipulation Package v4.0 (2008-06-25) | ![]() | ©copyright | ![]() |
java.lang.Objectimp.ima.util.RgbFilter
imp.ima.util.Gamma
public class Gamma
Defines an intensity normalization algorithm on RGB buffer.
Constructor Summary | |
---|---|
Gamma(int[] f)
Constructs an intensity normalization function. |
Method Summary | |
---|---|
static int[] |
getGammaLookUp(double gamma,
int[] src,
int width,
int height)
Returns the look-up table for a given gamma factor. |
Methods inherited from class imp.ima.util.RgbFilter |
---|
filterChannel, filterRGB, getChannel, getRGB, getRGB |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Gamma(int[] f)
f
- Look-up table : f[256] defining the transformation.Method Detail |
---|
public static int[] getGammaLookUp(double gamma, int[] src, int width, int height)