plt.imshow(img[1,...], cmap='gray', interpolation='bicubic') plt.xticks([]), plt.yticks([])andY axis plt.show() 上面的代碼很簡單,不多做解釋,加入我們在最后加上 1 print(img.shape) 如果輸出(300,200,120),其中分別表示該三維體數(shù)據(jù)在Z軸,Y軸,X軸上的尺寸,這和MATLAB以及ImageJ都有點(diǎn)不...
www.dbjr.com.cn/article/2701...htm 2025-6-9