본문 바로가기

분류 전체보기333

[PySide] Ex: Img Viewer. QListWidget and Matplotlib PySide를 사용하여 QListWidget과 Matplotlib 연동하기이 글에서는 PySide6를 사용하여 QListWidget과 Matplotlib를 이용하여 Image viewer를 만드는 방법을 설명함. 사용자는 디렉토리에서 PNG 파일을 선택하고선택한 이미지를 Matplotlib를 사용하여 표시할 수 있음. 예제 코드를 통해 이를 구현하는 방법을 단계별로 살펴보겠음.프로젝트 설정먼저 PySide6와 Matplotlib를 설치해야 함. 이를 위해 아래의 명령어를 실행하기 바람.pip install PySide6 matplotlib주요 클래스 및 메서드 소개ImageCanvas 클래스ImageCanvas 클래스는 Matplotlib의 FigureCanvasQTAgg를 상속하여 이미지를 표시하는 기.. 2024. 6. 4.
[Python] PIL, Pillow, OpenCV, and Scikit-image PIL, Pillow, OpenCV, and Scikit-imagePython에서 이미지를 다룰 때 이용되는 주요 패키지들은 다음과 같음.1.PIL (Python Imaging Library)PIL은 1995년에 처음 개발된 Python의 최초 이미지 처리 라이브러리 중 하나임. 매우 직관적이고 사용하기 쉬운 API를 제공하여 많은 개발자들에게 사랑받았음.그러나 2011년 이후로 더 이상 업데이트가 되지 않아 최신 Python 버전과 호환성 문제가 발생했음.공식 사이트: PIL 공식 사이트2.PillowPillow는 PIL의 포크(fork) 버전으로, 2010년에 개발되기 시작했음.PIL의 기능을 계승하면서도 지속적인 업데이트와 버그 수정을 통해 최신 Python 환경에서도 안정적으로 작동함.Pillow.. 2024. 6. 3.
[matplotlib] Summary : 작성중 Introduction2024.03.04 - [Python/matplotlib] - [matplotlib] matplotlib란 [matplotlib] matplotlib란Matplotlib은 Python에서 가장 널리 사용되는 Data Visualization Library임. matplotlib를 통해 chart(차트), image(이미지) 및, 다양한 visual representation of data이 가능함. pyplot 모듈을 통해 공학 계산 및 visualization으ds31x.tistory.comvisualization2024.01.22 - [Python/matplotlib] - [matplotlib] Visualization: Graph, Chart, Diagram, Figure [m.. 2024. 6. 3.
[matplotlib] Object Oriented Style Tutorial Matplotlib Object Oriented Style Tutorial1. IntroductionMatplotlib은 Python의 2D plotting library로, 다양한 그래프와 플롯을 생성하는 데 사용됨.2024.03.04 - [Python/matplotlib] - [matplotlib] matplotlib란 [matplotlib] matplotlib란Matplotlib은 Python에서 가장 널리 사용되는 Data Visualization Library임. matplotlib를 통해 chart(차트), image(이미지) 및, 다양한 visual representation of data이 가능함. pyplot 모듈을 통해 공학 계산 및 visualization으ds31x.tistory.c.. 2024. 6. 3.
[matplotlib] Tutorial: Scripting Style Tutorial: Scripting Style  이 문서는 matplotlib.pyplot의 script 방식에 대한 간단한 튜토리얼임. scripting style에 대해서 잘 모르면 다음을 읽어볼 것.2024.06.02 - [Python/matplotlib] - [matplotlib] Scripting Layer vs. Artist Layer [matplotlib] Scripting Layer vs. Artist LayerScripting Layer vs. Artist LayerMatplotlib는Scripting Layer와 (이를 이용시 scripting style 이라고 불림)Artist Layer 라는 (이를 이용시 object-oriented style 이라고 불림)두 가지 주요 인터페이스를.. 2024. 6. 3.
[matplotlib] Scripting Layer vs. Artist Layer Scripting Layer vs. Artist LayerMatplotlib는Scripting Layer와 (이를 이용시 scripting style 이라고 불림)Artist Layer 라는 (이를 이용시 object-oriented style 이라고 불림)두 가지 주요 인터페이스를 plot을 그리기 위해 제공함. 이 외에 backend layer를 가지는데 이는 사용자가 plots를 그릴 때 이용하는 인터페이스가 아님.2023.07.20 - [Python/matplotlib] - [Python] matplotlib : backend란 [Python] matplotlib : backend란matplotlib: backend란 matplotlib의 backend 관련자료를 정리한 문서임.Matplotlib.. 2024. 6. 2.
반응형