2024-04-25 07:16:25 发布
网友
我在读Gaussian Blur的时候,遇到的一个例子如下:
cv2.GaussianBlur(img, (0,0), 5)
这里的0,0是什么意思?这与我读到的另一个例子形成了鲜明对比:
0,0
cv2.GaussianBlur(img,(5,5),0)
两者有什么不同?你知道吗
直接从文档:
Gaussian kernel size. ksize.width and ksize.height can differ but they both must be positive and odd. Or, they can be zero's and then they are computed from sigma.
https://docs.opencv.org/3.1.0/d4/d86/group__imgproc__filter.html#gaabe8c836e97159a9193fb0b11ac52cf1
直接从文档:
https://docs.opencv.org/3.1.0/d4/d86/group__imgproc__filter.html#gaabe8c836e97159a9193fb0b11ac52cf1
相关问题 更多 >
编程相关推荐