pdf417DataImageHelper
Inheritance: java.lang.Object
public class pdf417DataImageHelper
Constructors
Constructor | Description |
---|---|
pdf417DataImageHelper() |
Methods
pdf417DataImageHelper()
public pdf417DataImageHelper()
checkIsPossibleToExtractQuadAsRect(QuadPoints aQuad, double aMaxDistance)
public static boolean checkIsPossibleToExtractQuadAsRect(QuadPoints aQuad, double aMaxDistance)
Checks possiblity to extract bitmap as quad
Parameters:
Parameter | Type | Description |
---|---|---|
aQuad | QuadPoints | bounding quadrangle |
aMaxDistance | double | max distance from rectangle points to aQuad points |
Returns: boolean - possiblity to extract bitmap as quad
checkQuadToRectanglePointsMaxDistance(QuadPoints aQuad, System.Drawing.Rectangle aRect)
public static double checkQuadToRectanglePointsMaxDistance(QuadPoints aQuad, System.Drawing.Rectangle aRect)
Detects max distance from quadrangle point to matching rectangle point
Parameters:
Parameter | Type | Description |
---|---|---|
aQuad | QuadPoints | bounding quadrangle |
aRect | com.aspose.ms.System.Drawing.Rectangle | checking rectangle |
Returns: double - max distance from quadrangle point to matching rectangle point
clearWhiteRows(ByteBitmap aBitmap, float aCell17Width)
public static ByteBitmap clearWhiteRows(ByteBitmap aBitmap, float aCell17Width)
Extracts dataregion bitmap with wiped upper and lower white rows
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | dataregion bitmap |
aCell17Width | float | possible width of column (17 cells size) |
Returns: ByteBitmap - dataregion bitmap with wiped upper and lower white rows
clearWhiteRows(ByteBitmap aBitmap, float aCell17Width, int aMinIgnoredBlackPix, float aMinIgnoredBlackFilling)
public static ByteBitmap clearWhiteRows(ByteBitmap aBitmap, float aCell17Width, int aMinIgnoredBlackPix, float aMinIgnoredBlackFilling)
Extracts dataregion bitmap with wiped upper and lower white rows
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | dataregion bitmap |
aCell17Width | float | possible width of column (17 cells size) |
aMinIgnoredBlackPix | int | ignored black pixels in row, means fully white row |
aMinIgnoredBlackFilling | float |
Returns: ByteBitmap - dataregion bitmap with wiped upper and lower white rows
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
extractBitmapFromQuadAsRect(ByteBitmap aBitmap, QuadPoints aQuad)
public static ByteBitmap extractBitmapFromQuadAsRect(ByteBitmap aBitmap, QuadPoints aQuad)
Extracts dataregion bitmap as rectangle with size close to aQuad
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | dataregion |
aQuad | QuadPoints | bounding quadrangle |
Returns: ByteBitmap - dataregion bitmap
fitCell17MinimalWidth(pdf417DataRegion aRegion, boolean isBilinear)
public static pdf417DataRegion fitCell17MinimalWidth(pdf417DataRegion aRegion, boolean isBilinear)
Increases dataregion bitmap with resized params
Parameters:
Parameter | Type | Description |
---|---|---|
aRegion | pdf417DataRegion | |
isBilinear | boolean | bilenear or nearest neighbour interpolation |
Returns: pdf417DataRegion - increased dataregion bitmap with resized params
fitCell17MinimalWidth(pdf417DataRegion aRegion, boolean isBilinear, double aMinCellSize)
public static pdf417DataRegion fitCell17MinimalWidth(pdf417DataRegion aRegion, boolean isBilinear, double aMinCellSize)
Increases dataregion bitmap with resized params
Parameters:
Parameter | Type | Description |
---|---|---|
aRegion | pdf417DataRegion | |
isBilinear | boolean | bilenear or nearest neighbour interpolation |
aMinCellSize | double | minimal cell size which doesnt need icreasing |
Returns: pdf417DataRegion - increased dataregion bitmap with resized params
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()
resizeDataRegion(pdf417DataRegion aRegion, boolean isBilinear, double aWidthIncrease, double aHeightIncrease)
public static pdf417DataRegion resizeDataRegion(pdf417DataRegion aRegion, boolean isBilinear, double aWidthIncrease, double aHeightIncrease)
Increases dataregion bitmap with resized params
Parameters:
Parameter | Type | Description |
---|---|---|
aRegion | pdf417DataRegion | |
isBilinear | boolean | bilenear or nearest neighbour interpolation |
aWidthIncrease | double | increase multiplier by width |
aHeightIncrease | double | increase multiplier by height |
Returns: pdf417DataRegion - increased dataregion bitmap with resized params
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 |