Transforming a square image to an image of curved sides

Hi all!

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.

My solution:

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?

Thank you all!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!