CellDetectorEqualNet
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.barcode.barcoderecognition.recognition.datamatrix.oldalgorithm.treealgorithm.IAlgorithm
public class CellDetectorEqualNet implements IAlgorithm
This class detects cells of a datamatrix, using the dividng to equal parts.
Constructors
Constructor | Description |
---|---|
CellDetectorEqualNet() |
Methods
Method | Description |
---|---|
detectEqualRowsAndColumns(ByteBitmap byteBitmap, int dimensionX, int dimensionY, RectangleVertexes vertexes, Int32List[] rows, Int32List[] col) | Executes cells detecting by dividng a region to equal parts. |
detectEqualSpikes(ByteBitmap byteBitmap, int dimensionX, int dimensionY, RectangleVertexes vertexes) | Executes cells detecting by dividng a region to equal parts. |
equalDistributionBits(ByteBitmap byteBitmap, int dimensionX, int dimensionY, int separatrix, RectangleVertexes vertexes) | Creates bits matrix by dividing bytebitmap to equal parts and getting cells. |
equals(Object arg0) | |
execute(ModelHolder modelHolder) | Executes cells detecting by dividng a region to equal parts. |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
CellDetectorEqualNet()
public CellDetectorEqualNet()
detectEqualRowsAndColumns(ByteBitmap byteBitmap, int dimensionX, int dimensionY, RectangleVertexes vertexes, Int32List[] rows, Int32List[] col)
public static void detectEqualRowsAndColumns(ByteBitmap byteBitmap, int dimensionX, int dimensionY, RectangleVertexes vertexes, Int32List[] rows, Int32List[] col)
Executes cells detecting by dividng a region to equal parts.
Parameters:
Parameter | Type | Description |
---|---|---|
byteBitmap | ByteBitmap | A bytebitmap |
dimensionX | int | Dimension X |
dimensionY | int | Dimension Y |
vertexes | RectangleVertexes | Vertexes |
rows | Int32List[] | result rows |
col | Int32List[] | result columns |
detectEqualSpikes(ByteBitmap byteBitmap, int dimensionX, int dimensionY, RectangleVertexes vertexes)
public static SpikedBits detectEqualSpikes(ByteBitmap byteBitmap, int dimensionX, int dimensionY, RectangleVertexes vertexes)
Executes cells detecting by dividng a region to equal parts.
Parameters:
Parameter | Type | Description |
---|---|---|
byteBitmap | ByteBitmap | A bytebitmap |
dimensionX | int | Dimension X |
dimensionY | int | Dimension Y |
vertexes | RectangleVertexes | vertexes |
Returns: SpikedBits - spiked bits
equalDistributionBits(ByteBitmap byteBitmap, int dimensionX, int dimensionY, int separatrix, RectangleVertexes vertexes)
public static BitArrayArray equalDistributionBits(ByteBitmap byteBitmap, int dimensionX, int dimensionY, int separatrix, RectangleVertexes vertexes)
Creates bits matrix by dividing bytebitmap to equal parts and getting cells.
Parameters:
Parameter | Type | Description |
---|---|---|
byteBitmap | ByteBitmap | A bytebitmap |
dimensionX | int | Dimension X |
dimensionY | int | Dimension Y |
separatrix | int | A separatrix |
vertexes | RectangleVertexes | Vertexes |
Returns: BitArrayArray - 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)
Executes cells detecting by dividng a region to equal parts.
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 |