2021年1月7日
摘要: shape[:2] 取彩色图片的长和宽 shape[:3]取彩色图片的长和宽和通道 img.shape[0]:图像的垂直高度 img.shape[1]:图像的水平宽度 img.shape[2]:图像的通道数 矩阵中,[0]代表水平,[1]代表高度。 #示例代码 from skimage import 阅读全文
posted @ 2021-01-07 00:04 Beyond2019 阅读(277) 评论(0) 推荐(0)