OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

is there python function to make non-unifrom warping

  • Thread starter Thread starter Aziz mohammed
  • Start date Start date
A

Aziz mohammed

Guest
For example, perspective warping scales the width according to changes that occurred in the height of the image. I want a function that scales only the modified part (width or height) and I want it to be based on 4 points, so affine transformation is not appropriate for it.

original image:

original image:


perspective:

perspective


non-uniform:

non-uniform

<p>For example, perspective warping scales the width according to changes that occurred in the height of the image. I want a function that scales only the modified part (width or height) and I want it to be based on 4 points, so affine transformation is not appropriate for it.</p>
<p>original image:</p>
<p><img src="https://i.sstatic.net/1JVlhI3L.png" alt="original image:" /></p>
<p>perspective:</p>
<p><img src="https://i.sstatic.net/7LR4XueK.png" alt="perspective" /></p>
<p>non-uniform:</p>
<p><img src="https://i.sstatic.net/UDZgiS7E.png" alt="non-uniform" /></p>
 

Latest posts

D
Replies
0
Views
1
Dhanushka Amarakoon
D
S
Replies
0
Views
1
Shikhar Ambashta
S
Top