This repository contains a multi-threading implementation of L2/L1 mixed alignment algorithm described in Hasinoff et. al, HDR+, SIGGRAPH'16.
Author: Rundong Li <lird@shanghaitech.edu.cn>
Note this implementation gets NO WARRANTY of running on Windows platform.
MacOS with LLVM >= 6.0 or Ubuntu with GCC >= 4.9 is required.
-
If you're using MacOS:
Install
LLVMwith:brew install llvm
-
Install required Python extensions by
piporanaconda, note thatPython >= 3.6is required.conda install -r requirements.txt
Then you may build C- extensions by
./build.sh
-
Create a folder
dataand copy your burst into it, executepython faster_align_cpu.py
then you should find the results plotted in
data/demo.png.Note: the
demo.pyis just for illustrating the algorithms we used, itself can work too, but very slow. -
To run tests for C- extensions, execute
pytest testunder project folder.
This work is licensed under GNU GPLv3, see LICENSE for details.