Source Code
You can access the source code here.
The folder with the name "interp_functions" has all the code for the methods talked in the strategy section.
The rest is the functions for the metrics and images.