DMHelperFunc

Inheritance: java.lang.Object

public class DMHelperFunc

Constructors

Constructor Description
DMHelperFunc()

Methods

Method Description
equals(Object arg0)
getAdaptiveTresholdByTheBlackChain(List[] aList, ByteBitmap aBitmap)
getAdaptiveTresholdByTheBlackChain(List[] aList, ByteBitmap aBitmap, double aDeviantK, int aMaxDeviantVal)
getAdaptiveTresholdFromDMRegion(DMRegionExt aRegion, ByteBitmap aBitmap)
getAdaptiveTresholdFromDMRegion(DMRegionExt aRegion, ByteBitmap aBitmap, double aDeviantK, int aMaxDeviantVal)
getAveragePoint(System.Drawing.PointF Pt0, System.Drawing.PointF Pt1)
getAveragePoint(System.Drawing.PointF[] Points)
getAverageTresholdFromLPattern(LPatternData aPattern, ByteBitmap aBitmap)
getAverageTresholdFromLPattern(LPatternData aPattern, ByteBitmap aBitmap, float aK)
getBWValueFromBinarizedBitmap(System.Drawing.Point Pt0, System.Drawing.Point Pt1, ByteBitmap aBitmap)
getBWValueFromPoints(System.Drawing.Point Pt0, System.Drawing.Point Pt1, ByteBitmap aBitmap, byte aDef, byte aThreshold)
getClass()
getLPatternQuad(LPatternData aPattern)
getMostClosePoint(System.Drawing.Point From, DoublePoints aLine)
getMostClosePoint(System.Drawing.PointF From, DoublePointFs aLine)
getMostDistantPoint(System.Drawing.Point From, DoublePoints aLine)
getMostDistantPoint(System.Drawing.PointF From, DoublePointFs aLine)
getOppositeLPatternPoint(LPatternData aPattern)
getPrecisedByLinePointsFormChain(DoublePointFs aLine, List aChain)
getPrecisedByLinePointsFormChain(LineCoefs aLine, List aChain)
getScanListMaxLines(QuadPoints aQuad, int aMaxScanLines)
getTresholdByTheBlackChain(List[] aList, ByteBitmap aBitmap)
getTresholdFromDMRegion(DMRegionExt aRegion, ByteBitmap aBitmap)
hashCode()
mergeExtractedLines(ExtractedLineF aMainLine, ExtractedLineF aAddLine, boolean isPrecisePointsByMainLine)
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

DMHelperFunc()

public DMHelperFunc()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getAdaptiveTresholdByTheBlackChain(List[] aList, ByteBitmap aBitmap)

public static byte getAdaptiveTresholdByTheBlackChain(List<ShortPoint>[] aList, ByteBitmap aBitmap)

Parameters:

Parameter Type Description
aList java.util.List<com.aspose.barcode.common.types.ShortPoint>[]
aBitmap ByteBitmap

Returns: byte

getAdaptiveTresholdByTheBlackChain(List[] aList, ByteBitmap aBitmap, double aDeviantK, int aMaxDeviantVal)

public static byte getAdaptiveTresholdByTheBlackChain(List<ShortPoint>[] aList, ByteBitmap aBitmap, double aDeviantK, int aMaxDeviantVal)

Parameters:

Parameter Type Description
aList java.util.List<com.aspose.barcode.common.types.ShortPoint>[]
aBitmap ByteBitmap
aDeviantK double
aMaxDeviantVal int

Returns: byte

getAdaptiveTresholdFromDMRegion(DMRegionExt aRegion, ByteBitmap aBitmap)

public static byte getAdaptiveTresholdFromDMRegion(DMRegionExt aRegion, ByteBitmap aBitmap)

Parameters:

Parameter Type Description
aRegion DMRegionExt
aBitmap ByteBitmap

Returns: byte

getAdaptiveTresholdFromDMRegion(DMRegionExt aRegion, ByteBitmap aBitmap, double aDeviantK, int aMaxDeviantVal)

public static byte getAdaptiveTresholdFromDMRegion(DMRegionExt aRegion, ByteBitmap aBitmap, double aDeviantK, int aMaxDeviantVal)

Parameters:

Parameter Type Description
aRegion DMRegionExt
aBitmap ByteBitmap
aDeviantK double
aMaxDeviantVal int

Returns: byte

getAveragePoint(System.Drawing.PointF Pt0, System.Drawing.PointF Pt1)

public static System.Drawing.PointF getAveragePoint(System.Drawing.PointF Pt0, System.Drawing.PointF Pt1)

Parameters:

Parameter Type Description
Pt0 com.aspose.ms.System.Drawing.PointF
Pt1 com.aspose.ms.System.Drawing.PointF

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

getAveragePoint(System.Drawing.PointF[] Points)

public static System.Drawing.PointF getAveragePoint(System.Drawing.PointF[] Points)

Parameters:

Parameter Type Description
Points com.aspose.ms.System.Drawing.PointF[]

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

getAverageTresholdFromLPattern(LPatternData aPattern, ByteBitmap aBitmap)

public static byte getAverageTresholdFromLPattern(LPatternData aPattern, ByteBitmap aBitmap)

Parameters:

Parameter Type Description
aPattern LPatternData
aBitmap ByteBitmap

Returns: byte

getAverageTresholdFromLPattern(LPatternData aPattern, ByteBitmap aBitmap, float aK)

public static byte getAverageTresholdFromLPattern(LPatternData aPattern, ByteBitmap aBitmap, float aK)

Parameters:

Parameter Type Description
aPattern LPatternData
aBitmap ByteBitmap
aK float

Returns: byte

getBWValueFromBinarizedBitmap(System.Drawing.Point Pt0, System.Drawing.Point Pt1, ByteBitmap aBitmap)

public static Tup<Integer,Integer> getBWValueFromBinarizedBitmap(System.Drawing.Point Pt0, System.Drawing.Point Pt1, ByteBitmap aBitmap)

Parameters:

Parameter Type Description
Pt0 com.aspose.ms.System.Drawing.Point
Pt1 com.aspose.ms.System.Drawing.Point
aBitmap ByteBitmap

Returns: Tup

getBWValueFromPoints(System.Drawing.Point Pt0, System.Drawing.Point Pt1, ByteBitmap aBitmap, byte aDef, byte aThreshold)

public static Tup<Integer,Integer> getBWValueFromPoints(System.Drawing.Point Pt0, System.Drawing.Point Pt1, ByteBitmap aBitmap, byte aDef, byte aThreshold)

Parameters:

Parameter Type Description
Pt0 com.aspose.ms.System.Drawing.Point
Pt1 com.aspose.ms.System.Drawing.Point
aBitmap ByteBitmap
aDef byte
aThreshold byte

Returns: Tup

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getLPatternQuad(LPatternData aPattern)

public static QuadPoints getLPatternQuad(LPatternData aPattern)

Parameters:

Parameter Type Description
aPattern LPatternData

Returns: QuadPoints

getMostClosePoint(System.Drawing.Point From, DoublePoints aLine)

public static System.Drawing.Point getMostClosePoint(System.Drawing.Point From, DoublePoints aLine)

Parameters:

Parameter Type Description
From com.aspose.ms.System.Drawing.Point
aLine DoublePoints

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

getMostClosePoint(System.Drawing.PointF From, DoublePointFs aLine)

public static System.Drawing.PointF getMostClosePoint(System.Drawing.PointF From, DoublePointFs aLine)

Parameters:

Parameter Type Description
From com.aspose.ms.System.Drawing.PointF
aLine DoublePointFs

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

getMostDistantPoint(System.Drawing.Point From, DoublePoints aLine)

public static System.Drawing.Point getMostDistantPoint(System.Drawing.Point From, DoublePoints aLine)

Parameters:

Parameter Type Description
From com.aspose.ms.System.Drawing.Point
aLine DoublePoints

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

getMostDistantPoint(System.Drawing.PointF From, DoublePointFs aLine)

public static System.Drawing.PointF getMostDistantPoint(System.Drawing.PointF From, DoublePointFs aLine)

Parameters:

Parameter Type Description
From com.aspose.ms.System.Drawing.PointF
aLine DoublePointFs

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

getOppositeLPatternPoint(LPatternData aPattern)

public static System.Drawing.Point getOppositeLPatternPoint(LPatternData aPattern)

Parameters:

Parameter Type Description
aPattern LPatternData

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

getPrecisedByLinePointsFormChain(DoublePointFs aLine, List aChain)

public static DoublePointFs getPrecisedByLinePointsFormChain(DoublePointFs aLine, List<ShortPoint> aChain)

Parameters:

Parameter Type Description
aLine DoublePointFs
aChain java.util.List<com.aspose.barcode.common.types.ShortPoint>

Returns: DoublePointFs

getPrecisedByLinePointsFormChain(LineCoefs aLine, List aChain)

public static DoublePointFs getPrecisedByLinePointsFormChain(LineCoefs aLine, List<ShortPoint> aChain)

Parameters:

Parameter Type Description
aLine LineCoefs
aChain java.util.List<com.aspose.barcode.common.types.ShortPoint>

Returns: DoublePointFs

getScanListMaxLines(QuadPoints aQuad, int aMaxScanLines)

public static List<DoublePoints> getScanListMaxLines(QuadPoints aQuad, int aMaxScanLines)

Parameters:

Parameter Type Description
aQuad QuadPoints
aMaxScanLines int

Returns: List

getTresholdByTheBlackChain(List[] aList, ByteBitmap aBitmap)

public static byte getTresholdByTheBlackChain(List<ShortPoint>[] aList, ByteBitmap aBitmap)

Parameters:

Parameter Type Description
aList java.util.List<com.aspose.barcode.common.types.ShortPoint>[]
aBitmap ByteBitmap

Returns: byte

getTresholdFromDMRegion(DMRegionExt aRegion, ByteBitmap aBitmap)

public static byte getTresholdFromDMRegion(DMRegionExt aRegion, ByteBitmap aBitmap)

Parameters:

Parameter Type Description
aRegion DMRegionExt
aBitmap ByteBitmap

Returns: byte

hashCode()

public native int hashCode()

Returns: int

mergeExtractedLines(ExtractedLineF aMainLine, ExtractedLineF aAddLine, boolean isPrecisePointsByMainLine)

public static ExtractedLineF mergeExtractedLines(ExtractedLineF aMainLine, ExtractedLineF aAddLine, boolean isPrecisePointsByMainLine)

Parameters:

Parameter Type Description
aMainLine ExtractedLineF
aAddLine ExtractedLineF
isPrecisePointsByMainLine boolean

Returns: ExtractedLineF

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