For example how do I apply RBFInterpolator on image loaded by opencv?
I need to apply interpolation using vector-operations of numpy (which is fast)
I need to do non-affine transformation on image by defining interpolation between image points.
How do I do it?
The code above should produce same image as input image.
Change source and destination points to do image transformation.
I believe there is a faster way to do this interpolation, but this is what I come up with.
If you do a lot of transformations on same image multiple times, i suggest to cache
flattenand reuse it instead of creating it each time.