An implementation of "Animating Pictures with Stochastic Motion Textures" by Yung-Yu Chuang et. al. 2005, completed for UC Berkeley's Computation Photography course (CS194-26) in Fall 2018.
- Segmentation - Trimaps are already generated, via Photoshop or similar tool.
- Matting -
python3 matting.py [input image] [trimap] [output dir]
- Inpainting -
python3 inpainting.py [input image to fill in] [mask] [output dir]
- Rendering -
python3 motion.py [motion specification text file]