public class DiffuseGainOp extends java.lang.Object implements PixelTransformOp
Constructor and Description |
---|
DiffuseGainOp() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clear cache.
|
void |
computeDGainCoeffLRGB(LRGBPTM ptm)
Compute d gain coeff lrgb.
|
void |
computeDGainCoeffRGB(RGBPTM ptm)
Compute d gain coeff rgb.
|
void |
forceUpdate()
Force update.
|
void |
release()
Release.
|
void |
transformPixels(int[] pixels,
PTM ptm)
Transform pixels.
|
void |
transformPixels(int[] pixels,
PTM ptm,
int mouseX,
int mouseY)
Transform pixels.
|
public void clearCache()
PixelTransformOp
clearCache
in interface PixelTransformOp
public void computeDGainCoeffLRGB(LRGBPTM ptm)
ptm
- the ptmpublic void computeDGainCoeffRGB(RGBPTM ptm)
ptm
- the ptmpublic void forceUpdate()
PixelTransformOp
forceUpdate
in interface PixelTransformOp
public void release()
PixelTransformOp
release
in interface PixelTransformOp
public void transformPixels(int[] pixels, PTM ptm)
PixelTransformOp
transformPixels
in interface PixelTransformOp
pixels
- the pixelsptm
- the ptmpublic void transformPixels(int[] pixels, PTM ptm, int mouseX, int mouseY)
PixelTransformOp
transformPixels
in interface PixelTransformOp
pixels
- the pixelsptm
- the ptmmouseX
- the mouse xmouseY
- the mouse y