This generates randomly some distortions and applies them to input file. Then the file is also rigidly transformed. Ground truth data are kept back for analysis.
The main use case are medical data.
Local distortions, global transform.
Written by Oleg Lobachev, 2020, at MHH, released at BSD license (unless file header says differently).