Applying a nonlinear transformation to an object (e.g. an image)

mweissa2 shared this question 6 months ago
Answered

This is a generalization of the question at https://help.geogebra.org/t... and the demo at https://www.geogebra.org/cl.... Is there a way to apply a nonlinear transformation to an object (for example, an image)? I have in mind a transformation like (x, y) --> (x^2, sqrt(y)). This example would map the unit square onto itself, but would distort images inside it. Such a transformation cannot be represented by a matrix so the ApplyMatrix command would not seem to be helpful.


The ultimate version of this would be to have three functions f(x,y), g(x,y) and h(x,y) and apply the transformation T: (x, y) --> (f(x,y), g(x,y), h(x,y)) to an image, which would have the effect of wrapping the image onto a surface in three dimensions. But that may be asking too much... I would be satisfied with a two-dimensional version, if it is possible.

Comments (1)

photo
1

Sorry, only affine transformations are possible for images

© 2021 International GeoGebra Institute