|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citizen.jpos.image.MobileImageConverter
public class MobileImageConverter
Convert Image to Byte Array.
Constructor Summary | |
---|---|
MobileImageConverter()
|
Method Summary | |
---|---|
byte[] |
convertBitImage(int[][] tpix,
int thresHoldValue)
Convert 2-dimension array to byte array. |
byte[] |
convertBitImageReverse(int[][] tpix,
int thresHoldValue)
Convert reverse image. |
byte[] |
convertGSAsteriskImage(int[][] img,
int thresHoldValue)
Convert 2-dimension array to byte array. |
int |
getaX()
|
int |
getaY()
|
int |
getByteWidth(int iWidth)
|
int |
getxH()
|
int |
getxL()
|
int |
getyH()
|
int |
getyL()
|
void |
setLength(int iWidth,
int iHeight)
|
void |
setLHLength(int byteWidth,
int iHeight)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MobileImageConverter()
Method Detail |
---|
public int getaX()
public int getaY()
public int getxL()
public int getxH()
public int getyL()
public int getyH()
public int getByteWidth(int iWidth)
public void setLHLength(int byteWidth, int iHeight)
public void setLength(int iWidth, int iHeight)
public byte[] convertBitImage(int[][] tpix, int thresHoldValue)
tpix
- int array[][]
public byte[] convertBitImageReverse(int[][] tpix, int thresHoldValue)
tpix
- int array[][]
public byte[] convertGSAsteriskImage(int[][] img, int thresHoldValue)
img
- int array[][]thresHoldValue
- Threshold value for convert B/W image.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |