I'd be very thankful for any tip on this!
I have a square picture of the moon (1024x1024 pixels). The 4 corners all have different coordinates (latitude and longitude). I have interpolated the coordinates for the image every 8 bits and I can creat a matrix with that info.
I though of interpolating all the coordinates for all the pixels and then put the pixel in the coordinate matrix but that takes me an hour to compute an image... and I have several hundred thousands to process.
Is there any other method to transform a square image into another image with non linear sides? I'm remembering the features on video that transforms your face into something weird.. something like that but resizing the borders too.
Thank you all!