numpy使用总结

numpy数组增加维度

比如二维灰度图片转化成三维带channel的数组

image=image[:,:,None]

 

posted @ 2018-11-01 20:02  Luke_Ye  阅读(175)  评论(0编辑  收藏  举报