non-linear scaling
Posted: 2018-12-21T17:40:28-07:00
Hi all.
I would like to apply a non-linear scaling to an image with image edge as center point.
To illustrate what I am trying to achieve, I have manually created an input and output file in Photoshop. I have used a a grid to help visualize, but the effect will be applied to photos. Basically, the stretching should progressively increase from top of image to bottom of image. There should be no virtual pixels because the bottom and top edge remain fixed.
https://drive.google.com/file/d/16C_w5_ ... sp=sharing
https://drive.google.com/file/d/1YDsvVO ... sp=sharing
Thus far I have been going the route of displacement maps using simple gradient but that squeezes the image from both ends - not in one direction. If any one could lead me in the right direction it would be appreciated.
Thanks.
I would like to apply a non-linear scaling to an image with image edge as center point.
To illustrate what I am trying to achieve, I have manually created an input and output file in Photoshop. I have used a a grid to help visualize, but the effect will be applied to photos. Basically, the stretching should progressively increase from top of image to bottom of image. There should be no virtual pixels because the bottom and top edge remain fixed.
https://drive.google.com/file/d/16C_w5_ ... sp=sharing
https://drive.google.com/file/d/1YDsvVO ... sp=sharing
Thus far I have been going the route of displacement maps using simple gradient but that squeezes the image from both ends - not in one direction. If any one could lead me in the right direction it would be appreciated.
Thanks.