UOMOP
plt.imshow 파란색으로 되는 현상 본문
img = cv2.imread("/content/lena.png", cv2.IMREAD_COLOR)
b, g, r = cv2.split(img) # img파일을 b,g,r로 분리
img = cv2.merge([r,g,b]) # b, r을 바꿔서 Merge
plt.imshow(img)
plt.xticks([]) # x축 눈금
plt.yticks([]) # y축 눈금
plt.show()
'Wireless Comm. > Python' 카테고리의 다른 글
High freq. vs Low freq. vs Original (0) | 2023.05.24 |
---|---|
Add AWGN to image (0) | 2023.05.24 |
AutoEncoder for Fashion MNIST (0) | 2023.05.11 |
Image PSNR Check_20230508 (0) | 2023.05.08 |
Conventional_20230504 (0) | 2023.05.04 |
Comments