基于字典的三维数组到二维数组的转换这是我根据字典映射将彩色图像转换为灰度的代码 M, N = color.shape[:2] out = np.zeros((M, N)) for i in range(M): for j in ...2024-04-28 已阅读: n次