gray image가 3 channel image 로 출력될 때

HeyHo·2022년 8월 30일
0
np.shape(data)
-> (H,W,3) 로 출력될 때
np.shape(data[:,:,0]
-> (H,W)로 출력된다.

np.shape(data[:,:,:1])
-> (H,W,1) 이렇게 출력될 것이다.
profile
Coputer vision, AI

0개의 댓글