In C++
A sliding window operator replaces each pixel with some function of its 8 neighbors (and it Consider pixel e and its 8 neighbors (labeled a that form a 3×3 window around it: .abc. . . def .. .ghi The operation replaces pixel e (in the middle of the 3×3 window) with some function of its neighbors f(a,b,c,d,e,f, g,h,i) . It is possible to implement blur, edge detection, and many other image processing operations using this technique References Lode’s Computer Graphics Tutorial – Image Filtering . Interactive demo for different functions (kernels) For this task, write a program kernel.cpp , which implements a horizontal edge detection operation. One way to detect horizontal edges is to use the function f(a,b,c,d,e,f,g,h,i)-(g+2hti)-(a+2b+c) This sone componenteralo, I you want toread more aboutini Example