Vitaly
Vitaly
Thanks for getting back to me so quickly! I am attaching a stand-alone script [issue_782.py packaged in a .zip file] that demonstrates this unexpected behavior. I will follow up tomorrow...
Here is my code to generate a sampling grid that does not exhibit unexpected/undesired shear artifacts. The key idea is to apply scaling of grid coordinates from [-1,1] to pixel...
Thanks for articulating your strategy regarding fixing/improving the grid-generation code. I looked at matconvnet and got some idea of the interplay between .m (grid generation) and .cu (bilinear sampling), but...