This code is a simplified implementation of the edit propagation method described in the following paper: Yan Gui, Guang Zeng: Joint Learning of Visual and Spatial Features for Edit Propagation from a Single Image, The visual computer, 2020, 36(3): 469-482.
- Tensorflow>=1.5.0. An open source machine learning framework. https://www.tensorflow.org
- scikit-learn>=0.19.1. Machine learning library in Python. http://scikit-learn.org
- scikit-image>=0.13.1. Image processing library in Python. http://scikit-image.org
- OpenCV>=3.3 Image processing library. http://opencv.org
- pydensecrf>=1.0. A Python wrapper for Philipp Krähenbühl's Fully-Connected CRFs. https://github.com/lucasb-eyer/pydensecrf
- Clone this repository to your local.
- Run "cd Edita_Propagation_connected" or "cd Edit_Propagation_convolutional"
- Run "python DP-connected.py" or "python DP-convolutional.py"
If you use GPU for DNN learning, please install the GPU version of TensorFlow, such as "pip install tensorflow-gpu".
You can use this code for scientific purposes only. Use in commercial projects and redistribution are not allowed without author's permission. Please cite (https://github.com/guiyan2018/Edit_Propagation) when using this code.
====================================================
Personal Contact Information
====================================================
Email: (guiyan@csust.edu.cn) (Yan Gui)