일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- dataframe
- index
- SPL
- Python
- mean
- synology
- 삼성소프트웨어멤버십
- CNN
- install
- RNN
- LSTM
- GT-S80
- Button
- imread
- javascript
- keras
- Lotto
- pip
- DFS
- mariadb
- E-P1
- SciPy
- pycharm
- 알고리즘
- GitHub
- ipad
- Series
- Numpy
- pandas
- Splunk
Archives
- Today
- Total
목록Components (1)
잠토의 잠망경
[Opencv] connectedComponents & connectedComponentsWithStats
connectedComponents & connectedComponentsWithStats 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 1 0 1 1 0 0 0 0위와 같이 어떤 image에 저와 같은 배열을 갖는 이미지가 있었다. 우리가 cv2.connectedComponents(image) 를 하면 연결된 components의 개수를 반환하고 Labeling을 해준다. 0 0 0 0 0 0 1 0 0 0 2 0 1 0 0 0 2 0 1 0 0 0 2 0 1 1 0 0 0 0그럼 우리는 이것들을 분리해서 처리할 수 있다. 또한 cv2.connectedComponentsWithStats() 는 중심 좌표 및 범위를 알려주기 때문에 대상(component)를 특정화 시킬수..
공부/Python
2019. 2. 18. 20:46