목록2024/01/11 (1)
hamlet-story
이미지 처리 기초 OpenCV와 Numpy로 이미지 다루기
이미지 처리에 대한 기초를 OpenCV와 NumPy를 활용하여 설명하도록 하겠습니다. 이번 포스팅에서는 이미지 읽기, 저장, 기본 속성 확인, 픽셀 값 조작, 그리고 이미지 크기 조정과 같은 기본적인 이미지 처리 작업을 다룹니다. 목차 1. 이미지 읽기 및 표시하기 2. 이미지 저장하기 3. 이미지의 기본 속성 확인하기 4. 이미지의 픽셀 값에 접근하고 수정하기 5. 이미지의 크기 조정하기 이미지 읽기 및 표시하기 이미지 처리의 첫 걸음은 이미지를 읽고 표시하는 것입니다. OpenCV를 사용하여 이미지를 읽는 방법과 간단한 코드 예제를 살펴보겠습니다. OpenCV와 Numpy를 활용하여 이미지 처리에 입문해 봅시다. 먼저, 이미지를 읽어와서 화면에 표시하는 방법을 알아보겠습니다. import cv2 im..
Language/Python
2024. 1. 11. 07:00