OpenCV

bilateral Filter

728x90
import cv2
import numpy as np
#이미지를 부드럽게~

img = cv2.imread('data\images\gaussian-noise.png')

result = cv2.bilateralFilter(img, 15, 80,80)



combined = np.hstack([img,result])

cv2.imshow('comb', combined)

cv2.waitKey(0)
cv2.destroyAllWindows()

728x90

'OpenCV' 카테고리의 다른 글

laplacian  (0) 2021.04.20
sobel  (0) 2021.04.20
Median Blur  (0) 2021.04.20
gaussianBlur  (0) 2021.04.20
boxfilter  (0) 2021.04.20