DensityTimePatternDetector
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.barcode.barcoderecognition.recognition.datamatrix.oldalgorithm.treealgorithm.IAlgorithm
public class DensityTimePatternDetector implements IAlgorithm
Detector of the time pattern. Analyzes whole time pattern
Constructors
| Constructor | Description |
|---|---|
| DensityTimePatternDetector() |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| execute(ModelHolder modelHolder) | Locates time pattern by black color density |
| getClass() | |
| hashCode() | |
| locateTimePattern(ByteBitmap byteBitmap, int fromI, int toI, boolean flip) | Locates time pattern by black color density ——Module—— fromI |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
DensityTimePatternDetector()
public DensityTimePatternDetector()
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)
Locates time pattern by black color density
Parameters:
| Parameter | Type | Description |
|---|---|---|
| modelHolder | ModelHolder | Model holder |
Returns: boolean - Is succesfully got result
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
hashCode()
public native int hashCode()
Returns: int
locateTimePattern(ByteBitmap byteBitmap, int fromI, int toI, boolean flip)
public static Int32List locateTimePattern(ByteBitmap byteBitmap, int fromI, int toI, boolean flip)
Locates time pattern by black color density ——Module—— fromI || || || . |||||| |||||| |||||| . ||||||||| ||||||||| ||||||||| n ||||||||+ ||||||||| ||||||||| . |||||| |||||| |||||| . ||| || || . |||||||||||||||| ||||||||||||||||| toI |||||||||||||||| ||||||||||||||||| 0 ——-i———-bitmap.Width or Height
Parameters:
| Parameter | Type | Description |
|---|---|---|
| byteBitmap | ByteBitmap | byteBitmap |
| fromI | int | a started coordinate to search |
| toI | int | a finished coordinate to search (hypothetical). Algorithm has auto finish property |
| flip | boolean | Value is false if we search vertical pattern. |
Returns: Int32List - spikes - zebra centrs
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 |