CellsDetectorByModule

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.barcode.barcoderecognition.recognition.datamatrix.oldalgorithm.treealgorithm.IAlgorithm

public class CellsDetectorByModule implements IAlgorithm

This class detects cells of a datamatrix, using a module to search and correct the time pattern

Constructors

Constructor Description
CellsDetectorByModule() Initializes a new instance of the CellsDetectorByModule class.
CellsDetectorByModule(boolean isNeedCorrect) Initializes a new instance of the CellsDetectorByModule class.

Methods

Method Description
alignedBitsByModule(ByteBitmap byteBitmap, RectangleVertexes vertexes, int dimensionX, int dimensionY, boolean isNeedCorrect) Detect datamatrix grid using the time-pattern
equals(Object arg0)
execute(ModelHolder modelHolder) Detects cells using a module value
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

CellsDetectorByModule()

public CellsDetectorByModule()

Initializes a new instance of the CellsDetectorByModule class.

CellsDetectorByModule(boolean isNeedCorrect)

public CellsDetectorByModule(boolean isNeedCorrect)

Initializes a new instance of the CellsDetectorByModule class.

Parameters:

Parameter Type Description
isNeedCorrect boolean Is needed to use double haming correction

alignedBitsByModule(ByteBitmap byteBitmap, RectangleVertexes vertexes, int dimensionX, int dimensionY, boolean isNeedCorrect)

public static SpikedBits alignedBitsByModule(ByteBitmap byteBitmap, RectangleVertexes vertexes, int dimensionX, int dimensionY, boolean isNeedCorrect)

Detect datamatrix grid using the time-pattern

Parameters:

Parameter Type Description
byteBitmap ByteBitmap Input datamatrix
vertexes RectangleVertexes Vertexes of a rectangle
dimensionX int
dimensionY int
isNeedCorrect boolean

Returns: SpikedBits - Matrix of bits

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

execute(ModelHolder modelHolder)

public final boolean execute(ModelHolder modelHolder)

Detects cells using a module value

Parameters:

Parameter Type Description
modelHolder ModelHolder Model holder

Returns: boolean - True if found cells, else false

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

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