Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- cv2
- 논문 구현
- deep learning
- center loss
- Object Tracking
- 임계처리
- level2
- 큐
- Computer Vision
- 자료구조
- 파이썬
- Deeplearning
- 알고리즘
- NLP
- transformer
- 3D
- 딥러닝
- Python
- Knowledge Distillation
- 프로그래머스
- OpenCV
- flame
- Object Detection
- point cloud
- reconstruction
- 스택
- attention
- Threshold
- re-identification
- numpy
Archives
- Today
- Total
목록flag (1)
공돌이 공룡의 서재

오늘 갖고놀 이미지. 임계 처리란 임계값(threshold value. 경계가 되는 기준 값)을 기준으로 이미지를 이진화화는 것을 말한다. 이진화를 이진화를 했을 때 0과 255로 이루어진 흑백 이미지로 만들 수 있고 값이 2개만 있기 때문에 True False형태로 바꾸어서 다른 작업을 수행하는 것이 가능하다. 간단하게 구현하면 다음과 같다. import cv2 import time road = cv2.imread('./road.jpg') gray = cv2.cvtColor(road, cv2.COLOR_BGR2GRAY) height, width = gray.shape th = 150 start = time.perf_counter() for i in range(height): for j in range(..
코딩/opencv
2020. 9. 2. 13:42