300x250
RGB 픽셀 값을 알고, HSV로 변환 후의 값을 알고 싶을 때
# red = np.uint8([[[0, 0, 255]]])
# hsv_red = cv2.cvtColor(navy, cv2.COLOR_BGR2HSV)
# print(hsv_red)
red의 hsv 값을 확인할 수 있습니다.
cv2.inRange함수에서 lower/upper 값 설정할 때 유용합니다.
300x250
'Image Processing' 카테고리의 다른 글
blur estimation or detection with python 관련 정리 (0) | 2021.04.22 |
---|---|
skimage에서 try_all_threshold사용 [threshold 모음] (0) | 2021.04.20 |
Image Flip (Horizontal/Vertical) (0) | 2020.10.14 |
Image Sharpening / Unsharp Image (0) | 2020.10.14 |
Image Brightness and Contrast 변경 (0) | 2020.10.14 |