ZebraScan

Inheritance: java.lang.Object

public class ZebraScan

Constructors

Constructor Description
ZebraScan()

Methods

Method Description
calculateInt32Zebra(byte[] aZebra)
calculateZebraBars(byte[] aZebra)
copyZebraBarList(List<ZebraScan.ZebraBar> aList)
createBitmapFromZebraBars(List<ZebraScan.ZebraBar> aBars, byte aDefColor)
createBitmapFromZebraBars(List<ZebraScan.ZebraBar> aBars, int ZebraLength, byte aDefColor)
equals(Object arg0)
getClass()
getDiagonalRow3Pi4(ByteBitmap aBitmap, int aX, int aY, int Borders, byte aDefColor)
getDiagonalRowPi4(ByteBitmap aBitmap, int aX, int aY, int Borders, byte aDefColor)
getHorisontalRow(ByteBitmap aBitmap, int aY, int Borders, byte aDefColor)
getHorisontalRow(ByteBitmap aBitmap, int aY, int aStartX, int aEndX, int Borders, byte aDefColor)
getPointListRow(ByteBitmap aBitmap, List<System.Drawing.Point> aList, byte aDefColor)
getVerticalRow(ByteBitmap aBitmap, int aX, int Borders, byte aDefColor)
getVerticalRow(ByteBitmap aBitmap, int aX, int aStartY, int aEndY, int Borders, byte aDefColor)
getZebraFromLine(ByteBitmap aBitmap, int yLine)
hashCode()
indexOfCurrentLineInList(List<ZebraScan.ZebraPatternLine> aList, ZebraScan.ZebraPatternLine aLine, int MaxDiff)
notify()
notifyAll()
removeColorBarsWithoutEdges(List<ZebraScan.ZebraBar> aList, byte aColor, int aBarSize)
removeSaltAndPaper(List<ZebraScan.ZebraBar> aList, int aSaltPaperSize, boolean isCopy)
revertZebraBars(List<ZebraScan.ZebraBar> aBars, int ZebraLength)
toString()
tryToDetectPattern(List<ZebraScan.ZebraBar> aZebras, int aPos, byte[] aPattern, float WholePatternSize, float Tolerance, float aMinQuality)
wait()
wait(long arg0)
wait(long arg0, int arg1)

ZebraScan()

public ZebraScan()

calculateInt32Zebra(byte[] aZebra)

public static Int32List calculateInt32Zebra(byte[] aZebra)

Parameters:

Parameter Type Description
aZebra byte[]

Returns: Int32List

calculateZebraBars(byte[] aZebra)

public static List<ZebraScan.ZebraBar> calculateZebraBars(byte[] aZebra)

Parameters:

Parameter Type Description
aZebra byte[]

Returns: List

copyZebraBarList(List<ZebraScan.ZebraBar> aList)

public static List<ZebraScan.ZebraBar> copyZebraBarList(List<ZebraScan.ZebraBar> aList)

Parameters:

Parameter Type Description
aList java.util.List<com.aspose.barcode.barcoderecognition.common.algorithms.ZebraScan.ZebraBar>

Returns: List

createBitmapFromZebraBars(List<ZebraScan.ZebraBar> aBars, byte aDefColor)

public static ByteBitmap createBitmapFromZebraBars(List<ZebraScan.ZebraBar> aBars, byte aDefColor)

Parameters:

Parameter Type Description
aBars java.util.List<com.aspose.barcode.barcoderecognition.common.algorithms.ZebraScan.ZebraBar>
aDefColor byte

Returns: ByteBitmap

createBitmapFromZebraBars(List<ZebraScan.ZebraBar> aBars, int ZebraLength, byte aDefColor)

public static ByteBitmap createBitmapFromZebraBars(List<ZebraScan.ZebraBar> aBars, int ZebraLength, byte aDefColor)

Parameters:

Parameter Type Description
aBars java.util.List<com.aspose.barcode.barcoderecognition.common.algorithms.ZebraScan.ZebraBar>
ZebraLength int
aDefColor byte

Returns: ByteBitmap

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

getDiagonalRow3Pi4(ByteBitmap aBitmap, int aX, int aY, int Borders, byte aDefColor)

public static ByteBitmap getDiagonalRow3Pi4(ByteBitmap aBitmap, int aX, int aY, int Borders, byte aDefColor)

Parameters:

Parameter Type Description
aBitmap ByteBitmap
aX int
aY int
Borders int
aDefColor byte

Returns: ByteBitmap

getDiagonalRowPi4(ByteBitmap aBitmap, int aX, int aY, int Borders, byte aDefColor)

public static ByteBitmap getDiagonalRowPi4(ByteBitmap aBitmap, int aX, int aY, int Borders, byte aDefColor)

Parameters:

Parameter Type Description
aBitmap ByteBitmap
aX int
aY int
Borders int
aDefColor byte

Returns: ByteBitmap

getHorisontalRow(ByteBitmap aBitmap, int aY, int Borders, byte aDefColor)

public static ByteBitmap getHorisontalRow(ByteBitmap aBitmap, int aY, int Borders, byte aDefColor)

Parameters:

Parameter Type Description
aBitmap ByteBitmap
aY int
Borders int
aDefColor byte

Returns: ByteBitmap

getHorisontalRow(ByteBitmap aBitmap, int aY, int aStartX, int aEndX, int Borders, byte aDefColor)

public static ByteBitmap getHorisontalRow(ByteBitmap aBitmap, int aY, int aStartX, int aEndX, int Borders, byte aDefColor)

Parameters:

Parameter Type Description
aBitmap ByteBitmap
aY int
aStartX int
aEndX int
Borders int
aDefColor byte

Returns: ByteBitmap

getPointListRow(ByteBitmap aBitmap, List<System.Drawing.Point> aList, byte aDefColor)

public static ByteBitmap getPointListRow(ByteBitmap aBitmap, List<System.Drawing.Point> aList, byte aDefColor)

Parameters:

Parameter Type Description
aBitmap ByteBitmap
aList java.util.List<com.aspose.ms.System.Drawing.Point>
aDefColor byte

Returns: ByteBitmap

getVerticalRow(ByteBitmap aBitmap, int aX, int Borders, byte aDefColor)

public static ByteBitmap getVerticalRow(ByteBitmap aBitmap, int aX, int Borders, byte aDefColor)

Parameters:

Parameter Type Description
aBitmap ByteBitmap
aX int
Borders int
aDefColor byte

Returns: ByteBitmap

getVerticalRow(ByteBitmap aBitmap, int aX, int aStartY, int aEndY, int Borders, byte aDefColor)

public static ByteBitmap getVerticalRow(ByteBitmap aBitmap, int aX, int aStartY, int aEndY, int Borders, byte aDefColor)

Parameters:

Parameter Type Description
aBitmap ByteBitmap
aX int
aStartY int
aEndY int
Borders int
aDefColor byte

Returns: ByteBitmap

getZebraFromLine(ByteBitmap aBitmap, int yLine)

public static byte[] getZebraFromLine(ByteBitmap aBitmap, int yLine)

Parameters:

Parameter Type Description
aBitmap ByteBitmap
yLine int

Returns: byte[]

hashCode()

public native int hashCode()

Returns: int

indexOfCurrentLineInList(List<ZebraScan.ZebraPatternLine> aList, ZebraScan.ZebraPatternLine aLine, int MaxDiff)

public static int indexOfCurrentLineInList(List<ZebraScan.ZebraPatternLine> aList, ZebraScan.ZebraPatternLine aLine, int MaxDiff)

Parameters:

Parameter Type Description
aList java.util.List<com.aspose.barcode.barcoderecognition.common.algorithms.ZebraScan.ZebraPatternLine>
aLine ZebraPatternLine
MaxDiff int

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeColorBarsWithoutEdges(List<ZebraScan.ZebraBar> aList, byte aColor, int aBarSize)

public static List<ZebraScan.ZebraBar> removeColorBarsWithoutEdges(List<ZebraScan.ZebraBar> aList, byte aColor, int aBarSize)

Parameters:

Parameter Type Description
aList java.util.List<com.aspose.barcode.barcoderecognition.common.algorithms.ZebraScan.ZebraBar>
aColor byte
aBarSize int

Returns: List

removeSaltAndPaper(List<ZebraScan.ZebraBar> aList, int aSaltPaperSize, boolean isCopy)

public static List<ZebraScan.ZebraBar> removeSaltAndPaper(List<ZebraScan.ZebraBar> aList, int aSaltPaperSize, boolean isCopy)

Parameters:

Parameter Type Description
aList java.util.List<com.aspose.barcode.barcoderecognition.common.algorithms.ZebraScan.ZebraBar>
aSaltPaperSize int
isCopy boolean

Returns: List

revertZebraBars(List<ZebraScan.ZebraBar> aBars, int ZebraLength)

public static List<ZebraScan.ZebraBar> revertZebraBars(List<ZebraScan.ZebraBar> aBars, int ZebraLength)

Parameters:

Parameter Type Description
aBars java.util.List<com.aspose.barcode.barcoderecognition.common.algorithms.ZebraScan.ZebraBar>
ZebraLength int

Returns: List

toString()

public String toString()

Returns: java.lang.String

tryToDetectPattern(List<ZebraScan.ZebraBar> aZebras, int aPos, byte[] aPattern, float WholePatternSize, float Tolerance, float aMinQuality)

public static ZebraScan.ZebraPatternLine tryToDetectPattern(List<ZebraScan.ZebraBar> aZebras, int aPos, byte[] aPattern, float WholePatternSize, float Tolerance, float aMinQuality)

Parameters:

Parameter Type Description
aZebras java.util.List<com.aspose.barcode.barcoderecognition.common.algorithms.ZebraScan.ZebraBar>
aPos int
aPattern byte[]
WholePatternSize float
Tolerance float
aMinQuality float

Returns: ZebraPatternLine

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