D-X-Y / landmark-detection

Four landmark detection algorithms, implemented in PyTorch.
https://xuanyidong.com/assets/projects/TPAMI-2020-SRT.html
MIT License
925 stars 180 forks source link

Confuse about "batch_interpolate_flow" function in SRT/lib/sbr/interpolate.py #90

Open Koruvika opened 1 year ago

Koruvika commented 1 year ago

I so confused about the _batch_interpolateflow function and _get_matrix_byindex function inside it. why can they compute OF just by interpolation? And what _get_matrix_byindex doing? I would be very grateful to someone if someone could answer these questions.