Why could imshow a phote with (x,x,3)?


I know a pic usually has 3 channels, so I think grid in plt.imshow() is a photo. But is still seems stange for me. Maybe I should read more blog.

It looks like this is a channels-last image format (which is common among image processing libraries like PIL).

1 Like

thank you I read the code angin and angin. Your answer help me a lot for the understand of this code^_^