public class GradientMap extends java.lang.Object implements IApplyInPlace
Apply LUTs in the image.
| Constructor and Description |
|---|
GradientMap(FastBitmap gradient)
Initialize a new instance of the GradientMap class.
|
GradientMap(int[][] lut)
Initialize a new instance of the GradientMap class.
|
GradientMap(int[][] lut,
boolean invert)
Initialize a new instance of the GradientMap class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
FastBitmap |
getGradient()
Get Gradient image.
|
int[][] |
getLut()
Get Gradient LUT.
|
boolean |
isInvert()
Verify if the lut is inverted.
|
void |
setGradient(FastBitmap gradient)
Set Gradient image.
|
void |
setInvert(boolean invert)
Invert LUT.
|
void |
setLut(int[][] lut)
Set Gradient LUT.
|
public GradientMap(FastBitmap gradient)
gradient - Gradient image.public GradientMap(int[][] lut)
lut - Gradient LUT.public GradientMap(int[][] lut,
boolean invert)
lut - Gradient LUT.public FastBitmap getGradient()
public void setGradient(FastBitmap gradient)
gradient - Gradient image.public int[][] getLut()
public void setLut(int[][] lut)
lut - Gradient LUT.public boolean isInvert()
public void setInvert(boolean invert)
invert - Invert lut.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.