반응형
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 | 31 |
Tags
- web 사진
- postorder
- mglearn
- bccard
- pycharm
- classification
- 재귀함수
- tensorflow
- CES 2O21 참여
- 머신러닝
- discrete_scatter
- vscode
- 데이터전문기관
- 결합전문기관
- cudnn
- web 용어
- 자료구조
- C언어
- inorder
- Keras
- 웹 용어
- broscoding
- paragraph
- KNeighborsClassifier
- web
- java역사
- CES 2O21 참가
- 대이터
- web 개발
- html
Archives
- Today
- Total
bro's coding
matplotlib.흑백이미지 만들기 본문
반응형
import matplotlib.pyplot as plt
img=plt.imread('제목 없음.png')
plt.imshow(img.mean(axis=2),cmap='gray',vmin=0,vmax=1)
plt.colorbar()

반응형
'[IT] > python.matplotlib' 카테고리의 다른 글
| matplotlib.subplot(그래프 여러개 그리기 1) (0) | 2020.04.03 |
|---|---|
| matplotlib.contourf(등고선 그리기 2) (0) | 2020.04.03 |
| matplotlib.contour(등고선 그리기 1) (1) | 2020.04.02 |
| matplotlib.브로드캐스팅 이용 red*2 (1) | 2020.03.30 |
| matplotlib.subplot (0) | 2020.03.27 |
| matplotlib.plot (1) | 2020.03.27 |
| matplotlib.scatter plot (0) | 2020.03.27 |
| 그래프 그리기 (0) | 2020.03.25 |
Comments