Sobel和Laplace结果显示为灰度

时间:2018-10-18 07:31:54

标签: python image-processing gradient cv2 sobel

我一直在尝试按照此链接上的图像渐变教程进行操作 https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_imgproc/py_gradients/py_gradients.html

根据本教程,拉普拉斯算子,Sobel x和Sobel y的结果以黑白显示。但是我的结果显示为灰色。 enter image description here

由于使用的是完全相同的代码和相同的示例图片,因此我似乎找不到原因。

0 个答案:

没有答案