1 | initial version |
Well, you are passing that function a 16 bit image, while it tells you that it only accepts 8 or 32 bits. So, after laplacian, you need to convert the image to 8 bits, just like in the example code, before imshow: https://docs.opencv.org/3.4/d5/db5/tutorial_laplace_operator.html