Transform a rectangle to a specific shape using java -


is there way transform rectangle shape shown in image..? transformation

i have tried every way can using affinetransform this. couldn't the expected result. want make sure impossible task or there way this..

affine transformation definition preserves points, straight lines , planes.

so can @ best transform rectangle rotated parallelogram @ best (opposite lines remain parallel).

to achieve more complex shapes, need more general transformation projective transformation (also known homography) (affine transformation special kind of projective transformation).


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -