DataMatrixLocator

Inheritance: java.lang.Object

public class DataMatrixLocator

Functions for bits locating. Functions are consist of different combinations of dimension, time pattern, spikes algorithms.

Constructors

Constructor Description
DataMatrixLocator()

Methods

Method Description
equals(Object arg0)
getClass()
hashCode()
locateByAll(ByteBitmap byteBitmap, LocatorParams rules)
locateByContours(ByteBitmap byteBitmap, LocatorParams rules) Locates the bits by irregular cells.
locateByHammingOrEqual(ByteBitmap byteBitmap, LocatorParams rules)
locateByModule(ByteBitmap byteBitmap, LocatorParams rules)
locateSmallMatrix(ByteBitmap cuttedBitmap, LocatorParams rules) Locates small matrix (a bit array, vertexes and angle)
locateSmallMatrixCorrect(ByteBitmap cuttedBitmap, LocatorParams rules) Locates small matrix (a bit array, vertexes and angle)
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

DataMatrixLocator()

public DataMatrixLocator()

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

hashCode()

public native int hashCode()

Returns: int

locateByAll(ByteBitmap byteBitmap, LocatorParams rules)

public static BitsLocation locateByAll(ByteBitmap byteBitmap, LocatorParams rules)

Parameters:

Parameter Type Description
byteBitmap ByteBitmap
rules LocatorParams

Returns: BitsLocation

locateByContours(ByteBitmap byteBitmap, LocatorParams rules)

public static BitsLocation locateByContours(ByteBitmap byteBitmap, LocatorParams rules)

Locates the bits by irregular cells. Uses the distance to black-white contours

Parameters:

Parameter Type Description
byteBitmap ByteBitmap A bytebitmap
rules LocatorParams Rules

Returns: BitsLocation - Bits location

locateByHammingOrEqual(ByteBitmap byteBitmap, LocatorParams rules)

public static BitsLocation locateByHammingOrEqual(ByteBitmap byteBitmap, LocatorParams rules)

Parameters:

Parameter Type Description
byteBitmap ByteBitmap
rules LocatorParams

Returns: BitsLocation

locateByModule(ByteBitmap byteBitmap, LocatorParams rules)

public static BitsLocation locateByModule(ByteBitmap byteBitmap, LocatorParams rules)

Parameters:

Parameter Type Description
byteBitmap ByteBitmap
rules LocatorParams

Returns: BitsLocation

locateSmallMatrix(ByteBitmap cuttedBitmap, LocatorParams rules)

public static BitsLocation locateSmallMatrix(ByteBitmap cuttedBitmap, LocatorParams rules)

Locates small matrix (a bit array, vertexes and angle)

Parameters:

Parameter Type Description
cuttedBitmap ByteBitmap a cutted bitmap
rules LocatorParams a rules

Returns: BitsLocation -

locateSmallMatrixCorrect(ByteBitmap cuttedBitmap, LocatorParams rules)

public static BitsLocation locateSmallMatrixCorrect(ByteBitmap cuttedBitmap, LocatorParams rules)

Locates small matrix (a bit array, vertexes and angle)

Parameters:

Parameter Type Description
cuttedBitmap ByteBitmap a cutted bitmap
rules LocatorParams

Returns: BitsLocation - Bit location

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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