일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 삼성소프트웨어멤버십
- Numpy
- Python
- dataframe
- ipad
- mean
- pip
- index
- pandas
- keras
- LSTM
- imread
- SPL
- mariadb
- E-P1
- Splunk
- 알고리즘
- GT-S80
- SciPy
- synology
- javascript
- install
- Button
- CNN
- RNN
- pycharm
- Lotto
- Series
- DFS
- GitHub
Archives
- Today
- Total
잠토의 잠망경
[OpenCV] morphological Transformations 본문
erode
목적: 삐져 나온것 지우기
src = cv2.imread('img.png')
kernel = cv2.getStructuringElement(shape=cv2.MORPH_CROSS, ksize=(3,3))
erode = cv2.erode(src, kernel, iteraions=10)
cv2.imshow('erode', erode)
dilate
목적: 매꾸기
src = cv2.imread('img.png')
kernel = cv2.getStructuringElement(shape=cv2.MORPH_CROSS, ksize=(3,3))
erode = cv2.dilate(src, kernel, iteraions=10)
cv2.imshow('erode', erode)
Comments