MaxiCodeTargetDetector

Inheritance: java.lang.Object, com.aspose.barcode.barcoderecognition.common.zebraxd.ZebraScanUtilBase

public class MaxiCodeTargetDetector extends ZebraScanUtilBase

Constructors

Constructor Description
MaxiCodeTargetDetector()

Methods

Method Description
cutOfByCenterAndSize(List unions, System.Drawing.Point horizontalUnionCenter, float zebraPixSize, float size)
equals(Object arg0)
findTargets(ByteBitmap byteBitmap, boolean readTinyBarcodes, ITerminationCheck aTerminationCheck)
fixCoordBrezenheimScan(List aBarList, System.Drawing.Point aFirst, System.Drawing.Point aSecond) Add real coordinates to ZebraSegment on the image, which are recognized on extracted by Bresenham algorithm bitmap line http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
fixCoordDDAScan(List aBarList, System.Drawing.Point aFirst, System.Drawing.Point aSecond, int aPointsCount) Add real coordinates to ZebraSegment on the image, which are recognized on extracted by Digital differential analyzer algorithm bitmap line https://en.wikipedia.org/wiki/Digital_differential_analyzer_(graphics_algorithm)
getClass()
getGammaSharpAverageBinarized(ByteBitmap aBmp, BBMap aGammaFunction, int HalfWindow, float aK)
getNNIncWithColorErosionAverage(ByteBitmap aBmp, int Multiplier, boolean isEraseBlack, int HalfWindow, float K)
getOtsuBinarized(ByteBitmap aBmp)
getSearchRectangle(System.Drawing.Point unionCenter, float unionLength)
getSearchRectangle2(System.Drawing.Point unionCenter, float unionLength)
getSharpWithAverageBinarized(ByteBitmap aBmp)
getUnions(ByteBitmap byteBitmap, System.Drawing.Rectangle rect, MaxiCodeTargetDetector.Direction direction, boolean readTinyBarcodes, ITerminationCheck terminationCheck)
hashCode()
notify()
notifyAll()
preciseCentralPoint(ZebraUnion target, ByteBitmap byteBitmap, ITerminationCheck terminationCheck)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MaxiCodeTargetDetector()

public MaxiCodeTargetDetector()

cutOfByCenterAndSize(List unions, System.Drawing.Point horizontalUnionCenter, float zebraPixSize, float size)

public static List<ZebraSegment> cutOfByCenterAndSize(List<ZebraUnion> unions, System.Drawing.Point horizontalUnionCenter, float zebraPixSize, float size)

Parameters:

Parameter Type Description
unions java.util.List<com.aspose.barcode.barcoderecognition.common.zebraxd.ZebraUnion>
horizontalUnionCenter com.aspose.ms.System.Drawing.Point
zebraPixSize float
size float

Returns: List

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

findTargets(ByteBitmap byteBitmap, boolean readTinyBarcodes, ITerminationCheck aTerminationCheck)

public static List<ZebraUnion> findTargets(ByteBitmap byteBitmap, boolean readTinyBarcodes, ITerminationCheck aTerminationCheck)

Parameters:

Parameter Type Description
byteBitmap ByteBitmap
readTinyBarcodes boolean
aTerminationCheck ITerminationCheck

Returns: List

fixCoordBrezenheimScan(List aBarList, System.Drawing.Point aFirst, System.Drawing.Point aSecond)

public static void fixCoordBrezenheimScan(List<ZebraSegment> aBarList, System.Drawing.Point aFirst, System.Drawing.Point aSecond)

Add real coordinates to ZebraSegment on the image, which are recognized on extracted by Bresenham algorithm bitmap line http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm

Parameters:

Parameter Type Description
aBarList java.util.List<com.aspose.barcode.barcoderecognition.common.zebraxd.ZebraSegment> recognized segment on 1D line with X coordinates
aFirst com.aspose.ms.System.Drawing.Point first point of scanline
aSecond com.aspose.ms.System.Drawing.Point second point of scanline

fixCoordDDAScan(List aBarList, System.Drawing.Point aFirst, System.Drawing.Point aSecond, int aPointsCount)

public static void fixCoordDDAScan(List<ZebraSegment> aBarList, System.Drawing.Point aFirst, System.Drawing.Point aSecond, int aPointsCount)

Add real coordinates to ZebraSegment on the image, which are recognized on extracted by Digital differential analyzer algorithm bitmap line https://en.wikipedia.org/wiki/Digital_differential_analyzer_(graphics_algorithm)

Parameters:

Parameter Type Description
aBarList java.util.List<com.aspose.barcode.barcoderecognition.common.zebraxd.ZebraSegment> recognized segment on 1D line with X coordinates
aFirst com.aspose.ms.System.Drawing.Point first point of scanline
aSecond com.aspose.ms.System.Drawing.Point second point of scanline
aPointsCount int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getGammaSharpAverageBinarized(ByteBitmap aBmp, BBMap aGammaFunction, int HalfWindow, float aK)

public static byte[] getGammaSharpAverageBinarized(ByteBitmap aBmp, BBMap aGammaFunction, int HalfWindow, float aK)

Parameters:

Parameter Type Description
aBmp ByteBitmap
aGammaFunction BBMap
HalfWindow int
aK float

Returns: byte[]

getNNIncWithColorErosionAverage(ByteBitmap aBmp, int Multiplier, boolean isEraseBlack, int HalfWindow, float K)

public static byte[] getNNIncWithColorErosionAverage(ByteBitmap aBmp, int Multiplier, boolean isEraseBlack, int HalfWindow, float K)

Parameters:

Parameter Type Description
aBmp ByteBitmap
Multiplier int
isEraseBlack boolean
HalfWindow int
K float

Returns: byte[]

getOtsuBinarized(ByteBitmap aBmp)

public static byte[] getOtsuBinarized(ByteBitmap aBmp)

Parameters:

Parameter Type Description
aBmp ByteBitmap

Returns: byte[]

getSearchRectangle(System.Drawing.Point unionCenter, float unionLength)

public static System.Drawing.Rectangle getSearchRectangle(System.Drawing.Point unionCenter, float unionLength)

Parameters:

Parameter Type Description
unionCenter com.aspose.ms.System.Drawing.Point
unionLength float

Returns: com.aspose.ms.System.Drawing.Rectangle

getSearchRectangle2(System.Drawing.Point unionCenter, float unionLength)

public static System.Drawing.Rectangle getSearchRectangle2(System.Drawing.Point unionCenter, float unionLength)

Parameters:

Parameter Type Description
unionCenter com.aspose.ms.System.Drawing.Point
unionLength float

Returns: com.aspose.ms.System.Drawing.Rectangle

getSharpWithAverageBinarized(ByteBitmap aBmp)

public static byte[] getSharpWithAverageBinarized(ByteBitmap aBmp)

Parameters:

Parameter Type Description
aBmp ByteBitmap

Returns: byte[]

getUnions(ByteBitmap byteBitmap, System.Drawing.Rectangle rect, MaxiCodeTargetDetector.Direction direction, boolean readTinyBarcodes, ITerminationCheck terminationCheck)

public static List<ZebraUnion> getUnions(ByteBitmap byteBitmap, System.Drawing.Rectangle rect, MaxiCodeTargetDetector.Direction direction, boolean readTinyBarcodes, ITerminationCheck terminationCheck)

Parameters:

Parameter Type Description
byteBitmap ByteBitmap
rect com.aspose.ms.System.Drawing.Rectangle
direction com.aspose.barcode.barcoderecognition.recognition.maxicode._target.MaxiCodeTargetDetector.Direction
readTinyBarcodes boolean
terminationCheck ITerminationCheck

Returns: List

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

preciseCentralPoint(ZebraUnion target, ByteBitmap byteBitmap, ITerminationCheck terminationCheck)

public static void preciseCentralPoint(ZebraUnion target, ByteBitmap byteBitmap, ITerminationCheck terminationCheck)

Parameters:

Parameter Type Description
target ZebraUnion
byteBitmap ByteBitmap
terminationCheck ITerminationCheck

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