【发布时间】:2011-06-03 11:35:18
【问题描述】:
我正在使用以下参数在 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
我还使用 GIMP 对图像进行了 Sobel 边缘检测。
源图片为: openCV 的输出是 GIMP 的输出是
为什么 openCV 和 GIMP 的输出差异如此之大。 GIMP 的输出质量超过 openCV 光年。
【问题讨论】:
-
openCV 被描述为实时计算机视觉。 openCV 的运行时间与 GIMP 相比如何?
标签: python opencv gimp edge-detection