I am trying to convolve my grayscale image with various filters. I have used the
cv2.Laplacian(gray, cv2.CV_64F)
and
kernel =np.array([[0, 1, 0] , [1, -4, 1] , [0, 1, 0]])
dst = cv2.filter2D(gray, -1, kernel)
But the results are different.
Can someone elaborate why I am getting different results?