Install opencv-3.1.0 with opencv_contrib as follows:
- Download opencv-3.1.0 from http://opencv.org/downloads.html.
- Clone opencv_contrib from GitHub using https://github.com/Itseez/opencv_contrib.
- Read installation instructions in opencv_contrib.
To run the python script, type in linux terminal:
$ python script.py
Li, Shutao, Xudong Kang, and Jianwen Hu. "Image fusion with guided filtering." Image Processing, IEEE Transactions on 22.7 (2013): 2864-2875.