Xol*_*lve 6 python opencv gimp edge-detection
我正在使用以下参数在openCV中进行Sobel边缘检测:
cv.Sobel(mat, edgemat, 1, 1)
# mat -> source image
# edgemat -> taget output image
# 1 -> xorder (int) – Order of the derivative x
# 1 -> yorder (int) – Order of the derivative y
# apertureSize (int) – Size of the extended Sobel kernel -> its by default set to 3
Run Code Online (Sandbox Code Playgroud)
我还使用GIMP对图像进行了Sobel边缘检测.
源图像是:
openCV的输出是
GIMP的输出是 
为什么openCV和GIMP的输出之间有这么大的差异.GIMP的产量质量超过openCV光年.