public class RGBImage
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ARGBImage |
convertToARGB(byte alpha)
Expand RGBImage to ARGB
|
byte[] |
getData()
Get byte array
|
long |
getFrameID()
Get frame ID
|
int |
getHeight()
Get frame height
|
int |
getOffsetX()
Get frame offset X
|
int |
getOffsetY()
Get frame offset Y
|
long |
getTimestamp()
Get frame timestamp
|
int |
getWidth()
Get frame width
|
void |
imageImprovement(long colorCorrectionParam,
ByteBuffer contrastLut,
ByteBuffer gammaLut)
RGB Image improve, using original buffer in RGBImage
|
public byte[] getData()
public int getWidth()
public int getHeight()
public long getFrameID()
public long getTimestamp()
public int getOffsetX()
public int getOffsetY()
public void imageImprovement(long colorCorrectionParam, ByteBuffer contrastLut, ByteBuffer gammaLut) throws ExceptionSet
colorCorrectionParam
- Color correction param, getting from device.contrastLut
- Contrast LUTgammaLut
- Gamma LUTExceptionSet
public ARGBImage convertToARGB(byte alpha) throws ExceptionSet
alpha
- alpha channel of ARGBBufferExceptionSet