4-corners image transformation

Lech Jagodziński shared this question 3 years ago
Answered

Is possible make with script 4-corners image transformation,

e.g. from rectangle image to trapezoid shape image?

Thank you for any suggestions.

Comments (4)

photo
1

Yes, only affine transforms are supported:


https://en.wikipedia.org/wi...

photo
1

Thank you for the answer, but it is only 3-corners transformation well documentated in GeoGebra manual !

Affine transformation is a function between affine spaces which preserves points, straight lines and planes. Also, sets of parallel lines remain parallel after an affine transformation. And from this reason transformation from rectangle shape to trapezoid is impossible.

My problem is: how transform object "image"

from c91610c061aa52100174594c143cd665 to 64471d7e288f5582d32296ec0a02cbf9 or 79e96ebc13c78b6fc3072189dc44c3e9

I'm still waiting for real help!

photo
1

Michael and you said it is impossible actualy in GG

photo
1

Perhaps in GeoGebra Script it is impossible, but in JavaScript Script it may be possible ?

© 2022 International GeoGebra Institute