![](https://img.codepudding.com/202010/135304070236371.jpg)
Then use the high-pass filter, in the original low pass filtering function added (1 -), and other code should be correct, why the images like this
![](https://img.codepudding.com/202010/135304070236372.jpg)
CodePudding user response:
Image processing based http://www.codeproject.com/Articles/781213/Fundamentals-of-Image-Processing-behind-the-scenesComputer_Vision_Algorithms_and_Applications_SzeliskiBook_20100903_draft. PDF