Thanks for this awesome repo! I thought in your implementation the pixel color of the output (deformed) image is sampled from the source image by a warped grid via interpolation like torch.grid_sample(src_im, warped_grid), where the warped grid is obtained by deforming a "standard" grid with the given displacement, right? This approach works fine when the warped grid is non-self-overlapping, while I found that in the case of a self-overlapped warped grid obtained by, say, skinning the regular grid (please see figure below), the aforementioned rendering method seems to lose efficacy. Could you please help figure out how to use interpolation-based differentiable rendering to plot the deformed self-overlapped grid?
Thanks for this awesome repo! I thought in your implementation the pixel color of the output (deformed) image is sampled from the source image by a warped grid via interpolation like
torch.grid_sample(src_im, warped_grid)
, where the warped grid is obtained by deforming a "standard" grid with the givendisplacement
, right? This approach works fine when the warped grid is non-self-overlapping, while I found that in the case of a self-overlapped warped grid obtained by, say, skinning the regular grid (please see figure below), the aforementioned rendering method seems to lose efficacy. Could you please help figure out how to use interpolation-based differentiable rendering to plot the deformed self-overlapped grid?