728x90
import cv2
import numpy as np
#이미지를 부드럽게~
img = cv2.imread('data/images/truth.png',1)
laplacian = cv2.Laplacian(img, cv2.CV_32F, ksize = 3, scale=1)
cv2.imshow('ori', img)
cv2.imshow('Laplacian', laplacian)
cv2.waitKey(0)
cv2.destroyAllWindows()
728x90
'OpenCV' 카테고리의 다른 글
Canny (0) | 2021.04.20 |
---|---|
sharpen (0) | 2021.04.20 |
sobel (0) | 2021.04.20 |
bilateral Filter (0) | 2021.04.20 |
Median Blur (0) | 2021.04.20 |