This repo contains the implementation of CNN based smoke removal from simulation.
If this code is useful for your project, please consider to cite:
Chen, L., Wen, T., John, N.W
Unsupervised Learning of Surgical Smoke Removal from Simulation.
Hamlyn Symposium on Medical Robotics. 2018.
This code was tested with Blender, Tensorflow, CUDA 8.0 and Ubuntu 16.04.
We use the da Vinci dataset from Hamlyn Centre Laparoscopic / Endoscopic Video Datasets
render_smoke.py contains the python script to render smoke on images
Usage:
- Modify the data path in render_smoke.py
- ./blender --python ./render_smoke.py
desmoke_main.py
desmoke_test.py