This is the released code for the following paper:
"Semi-global weighted least squares in image filtering.", Wei Liu, Xiaogang Chen, Chuanhua Shen, Zhi Liu, and Jie Yang. In ICCV 2017.
Update comments:
The function mexSG_WLS_opt is the code-level optimized counterpart of the function mexSG_WLS_naive, it can produce the same results, but runs faster.
Related Work:
- "Real-time Image Smoothing via Iterative Least Squares", Wei Liu, Pingping Zhang, Xiaolin Huang, Jie Yang, Chunhua Shen and Ian Reid. ACM Transactions on Graphics (presented on SIGGRAPH 2020). Code
- "Embedding bilateral filter in least squares for efficient edge-preserving image smoothing." Wei Liu, Pingping Zhang, Xiaogang Chen, Chunhua Shen, Xiaolin Huang, Jie Yang. IEEE Transactions on Circuits and Systems for Video Technology (2018). Code
- "A generalized framework for edge-preserving and structure-preserving image smoothing." Wei Liu, Pingping Zhang, Yinjie Lei, Xiaolin Huang, Jie Yang, and Michael Ng. IEEE Transactions on Transactions on Pattern Analysis and Machine Intelligence (2021). Code