DislocationBitsCorrector

Inheritance: java.lang.Object

public class DislocationBitsCorrector

Corrector for the bit matrix. Corrects the dent of datamatrix

Constructors

Constructor Description
DislocationBitsCorrector()

Methods

Method Description
equals(Object arg0)
getClass()
getDamage(BitArrayArray bits, int x, int y, int lenght, System.Drawing.Point[] damageStart1, System.Drawing.Point[] damageEnd1, boolean isHorizontal) Return start and end points of a offset part of a line
hashCode()
moveHorizontalOffset(BitArrayArray bits, int patternsDistance, int depth) Smooth small vertical offset damage in bits
moveVerticalOffset(BitArrayArray bits, int patternsDistance, int depth) Smooth small horizontal offset damage in bits
notify()
notifyAll()
restoreSmallDamage(ByteBitmap byteBitmap, System.Drawing.Rectangle rectangle, BitArrayArray bits) Restore small damage in BitArrayArray
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

DislocationBitsCorrector()

public DislocationBitsCorrector()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDamage(BitArrayArray bits, int x, int y, int lenght, System.Drawing.Point[] damageStart1, System.Drawing.Point[] damageEnd1, boolean isHorizontal)

public static boolean getDamage(BitArrayArray bits, int x, int y, int lenght, System.Drawing.Point[] damageStart1, System.Drawing.Point[] damageEnd1, boolean isHorizontal)

Return start and end points of a offset part of a line

Parameters:

Parameter Type Description
bits BitArrayArray
x int X-coordinate of a offset point to start search all damage
y int Y-coordinate of a offset point to start search all damage
lenght int Lenght of a previous damage
damageStart1 com.aspose.ms.System.Drawing.Point[] Return start point of a damage
damageEnd1 com.aspose.ms.System.Drawing.Point[] Return end point of a damage
isHorizontal boolean Is offset horizontal

Returns: boolean - Is damage found

hashCode()

public native int hashCode()

Returns: int

moveHorizontalOffset(BitArrayArray bits, int patternsDistance, int depth)

public static void moveHorizontalOffset(BitArrayArray bits, int patternsDistance, int depth)

Smooth small vertical offset damage in bits

Parameters:

Parameter Type Description
bits BitArrayArray Input bits
patternsDistance int A distance between alignment pattern lines
depth int A limiting depth to move

moveVerticalOffset(BitArrayArray bits, int patternsDistance, int depth)

public static void moveVerticalOffset(BitArrayArray bits, int patternsDistance, int depth)

Smooth small horizontal offset damage in bits

Parameters:

Parameter Type Description
bits BitArrayArray Input bits
patternsDistance int A distance between alignment pattern lines
depth int A limiting depth to move

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

restoreSmallDamage(ByteBitmap byteBitmap, System.Drawing.Rectangle rectangle, BitArrayArray bits)

public static void restoreSmallDamage(ByteBitmap byteBitmap, System.Drawing.Rectangle rectangle, BitArrayArray bits)

Restore small damage in BitArrayArray

Parameters:

Parameter Type Description
byteBitmap ByteBitmap Input bytebitmap
rectangle com.aspose.ms.System.Drawing.Rectangle Datamatrix rectangle
bits BitArrayArray Input bits

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int