📜  使用 RGB 数据将输入数据剪切到 imshow 的有效范围(浮点数为 [0..1] 或整数为 [0..255]) - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:31.854000             🧑  作者: Mango

代码示例2
np.array(img,np.int32)
or 
If you want to show it, you can use img/255