Mask of an image with a list of pixel values

前端 未结 0 704
自闭症患者
自闭症患者 2021-01-12 12:31

I want to create a mask of an image with the values in a list. For example I have an RGB image with dimension (2, 5):

a = (np.random.rand(2, 5, 3) * 10).astyp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题