Generate perfectly invertible image distortion maps from modular mix-and-match distortion "seeds". Extend your own! Endless fun! Learn what the great science word "diffeomorphism" is!
This application was used to generate training and testing data for deep neural networks in a scientific paper. To visualize the generated optical-flow fields, check out this repo!
Put CImg.h into src
, then make
. This will run a full example on the included grid.ppm
image.