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 |
Tags
- 코테
- Counting
- geometry
- dynamic programming
- bit manipulation
- Number Theory
- implement
- Data Structure
- Matrix
- Binary Tree
- hash table
- java
- 구현
- database
- two pointers
- 코딩테스트
- Binary Search
- Class
- 파이썬
- string
- greedy
- Tree
- array
- Method
- Stack
- sorting
- SQL
- simulation
- Math
- 자바
Archives
- Today
- Total
목록matplotllib (1)
코린이의 소소한 공부노트

이 글에서는 이미지를 열어보고, 분석해보고, 약간 조작해보려고 한다. 뭐든지 시작하기 전에, 모듈 임포트부터! import numpy as np from PIL import Image # PIL: 파이썬 이미지 분석 라이브러리 import matplotlib.pyplot as plt %matplotlib inline 그림 띄우기 준비 주피터에서 이미지 파일을 불러올 때 필자가 배운 방법은 이것이다. # 현재 주피터노트북 파일이 있는 폴더에 # source라는 폴더가 있고 # 그 안에 MZ.png 파일이 있는 상황 path = 'source/MZ.png' image_pil = Image.open(path) # 경로를 따라가서 파일을 오픈하고 image = np.array(image_pil) # 그 파일의 ..
Deep Learning
2021. 10. 26. 20:41