This is a quick demonstration for using Mobius transformations to manipulate images
This method is used in paper Data augmentation with Mobius transformations https://arxiv.org/abs/2002.02917
Credit to Sharon Zhou, Hang Jiang, Torbjörn Lundh, and Andrew Ng
The official repo from Stanford ML Group is here: https://github.com/stanfordmlgroup/mobius
Examples:
Original Images:
Outputs:
Change the filename in Mobius_demo.ipynb and you will be able to mobius-transform your images! :)