PerspectiveTransformation
Inheritance: java.lang.Object
public class PerspectiveTransformation
Constructors
Constructor | Description |
---|---|
PerspectiveTransformation() |
Methods
PerspectiveTransformation()
public PerspectiveTransformation()
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>
getResultPointPositionNearestNeighbor(int resultWidth, int resultHeight, PerspectiveTransformation.Transformation aTransform, System.Drawing.Point originalPoint)
public static System.Drawing.Point getResultPointPositionNearestNeighbor(int resultWidth, int resultHeight, PerspectiveTransformation.Transformation aTransform, System.Drawing.Point originalPoint)
Returns the position of the point in transformed bitmap. NEED TO REPLACE!!!!!!! this just by aTransform.GetReversedTransformation().Transform(originalPoint);
Parameters:
Parameter | Type | Description |
---|---|---|
resultWidth | int | |
resultHeight | int | |
aTransform | Transformation | |
originalPoint | com.aspose.ms.System.Drawing.Point |
Returns: com.aspose.ms.System.Drawing.Point
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
transformBitmapBilinear(ByteBitmap bitmap, System.Drawing.Rectangle rectangle, System.Drawing.Size size)
public static ByteBitmap transformBitmapBilinear(ByteBitmap bitmap, System.Drawing.Rectangle rectangle, System.Drawing.Size size)
Transform bilinear a rectangle from the bitmap
Parameters:
Parameter | Type | Description |
---|---|---|
bitmap | ByteBitmap | Input bitmap |
rectangle | com.aspose.ms.System.Drawing.Rectangle | A rectangle |
size | com.aspose.ms.System.Drawing.Size | Result size |
Returns: ByteBitmap - Transformed bitmap
transformBitmapBilinear(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, PerspectiveTransformation.Transformation aTransform, byte aBackground)
public static ByteBitmap transformBitmapBilinear(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, PerspectiveTransformation.Transformation aTransform, byte aBackground)
Transform shape defined by Transformation into rectangular bitmap with simple bilinear pixels interpolation
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | original bitmap |
aResultBmpSize | com.aspose.ms.System.Drawing.Size | new bitmap size |
aTransform | Transformation | affine matrix https://en.wikipedia.org/wiki/3D_projection |
aBackground | byte | default color if we out of the original bitmap area |
Returns: ByteBitmap - rectangular bitmap with size aResultBmpSize
transformBitmapBilinear(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPointFs aQuad, byte aBackground)
public static ByteBitmap transformBitmapBilinear(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPointFs aQuad, byte aBackground)
Transform quadrangle shape into rectangular bitmap with bilinear pixels interpolation
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | original bitmap |
aResultBmpSize | com.aspose.ms.System.Drawing.Size | new bitmap size |
aQuad | QuadPointFs | quadrangle shape of the barcode element |
aBackground | byte | default color if we out of the original bitmap area |
Returns: ByteBitmap - rectangular bitmap with size aResultBmpSize
transformBitmapBilinear(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPointFs aResultQuad, QuadPointFs aQuad, byte aBackground)
public static ByteBitmap transformBitmapBilinear(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPointFs aResultQuad, QuadPointFs aQuad, byte aBackground)
Transform quadrangle shape into rectangular bitmap with bilinear pixels interpolation
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | original bitmap |
aResultBmpSize | com.aspose.ms.System.Drawing.Size | new bitmap size |
aResultQuad | QuadPointFs | quadrangle shape on bitmap, could be different from 0, 0, Width, Height |
aQuad | QuadPointFs | quadrangle shape of the barcode element |
aBackground | byte | default color if we out of the original bitmap area |
Returns: ByteBitmap - rectangular bitmap with size aResultBmpSize
transformBitmapBilinear(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPoints aQuad, byte aBackground)
public static ByteBitmap transformBitmapBilinear(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPoints aQuad, byte aBackground)
Transform quadrangle shape into rectangular bitmap with bilinear pixels interpolation
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | original bitmap |
aResultBmpSize | com.aspose.ms.System.Drawing.Size | new bitmap size |
aQuad | QuadPoints | quadrangle shape of the barcode element |
aBackground | byte | default color if we out of the original bitmap area |
Returns: ByteBitmap - rectangular bitmap with size aResultBmpSize
transformBitmapNearestNeighbor(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, PerspectiveTransformation.Transformation aTransform, byte aBackground)
public static ByteBitmap transformBitmapNearestNeighbor(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, PerspectiveTransformation.Transformation aTransform, byte aBackground)
Transform shape defined by Transformation into rectangular bitmap with simple nearest neighbor interpolation
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | original bitmap |
aResultBmpSize | com.aspose.ms.System.Drawing.Size | new bitmap size |
aTransform | Transformation | affine matrix https://en.wikipedia.org/wiki/3D_projection |
aBackground | byte | default color if we out of the original bitmap area |
Returns: ByteBitmap - rectangular bitmap with size aResultBmpSize
transformBitmapNearestNeighbor(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPointFs aQuad, byte aBackground)
public static ByteBitmap transformBitmapNearestNeighbor(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPointFs aQuad, byte aBackground)
Transform quadrangle shape into rectangular bitmap with simple nearest neighbor interpolation
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | original bitmap |
aResultBmpSize | com.aspose.ms.System.Drawing.Size | new bitmap size |
aQuad | QuadPointFs | quadrangle shape of the barcode element |
aBackground | byte | default color if we out of the original bitmap area |
Returns: ByteBitmap - rectangular bitmap with size aResultBmpSize
transformBitmapNearestNeighbor(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPointFs aResultQuad, QuadPointFs aQuad, byte aBackground)
public static ByteBitmap transformBitmapNearestNeighbor(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPointFs aResultQuad, QuadPointFs aQuad, byte aBackground)
Transform quadrangle shape into rectangular bitmap with simple nearest neighbor interpolation
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | original bitmap |
aResultBmpSize | com.aspose.ms.System.Drawing.Size | new bitmap size |
aResultQuad | QuadPointFs | quadrangle shape on bitmap, could be different from 0, 0, Width, Height |
aQuad | QuadPointFs | quadrangle shape of the barcode element |
aBackground | byte | default color if we out of the original bitmap area |
Returns: ByteBitmap - rectangular bitmap with size aResultBmpSize
transformBitmapNearestNeighbor(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPoints aQuad, byte aBackground)
public static ByteBitmap transformBitmapNearestNeighbor(ByteBitmap aBitmap, System.Drawing.Size aResultBmpSize, QuadPoints aQuad, byte aBackground)
Transform quadrangle shape into rectangular bitmap with simple nearest neighbor interpolation
Parameters:
Parameter | Type | Description |
---|---|---|
aBitmap | ByteBitmap | original bitmap |
aResultBmpSize | com.aspose.ms.System.Drawing.Size | new bitmap size |
aQuad | QuadPoints | quadrangle shape of the barcode element |
aBackground | byte | default color if we out of the original bitmap area |
Returns: ByteBitmap - rectangular bitmap with size aResultBmpSize
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 |