GIMP difference of Gaussians in Opencv
问题 I want to replicate the GIMP Filter > Edge Decect > Difference of Gaussians in C++ using opencv. I found this simple code for DOG implementation bu I want the same result of GIMP with the two params Raidus1 and Radius2. Mat g1, g2, result; Mat img = imread("test.png", CV_LOAD_IMAGE_COLOR); GaussianBlur(img, g1, Size(1,1), 0); GaussianBlur(img, g2, Size(3,3), 0); result = g1 - g2; How can add the 2 radius params to the implementation? Sample input image Params Output If can help this is the