Ordered Dithering Python: Color assignment

后端 未结 0 1631
误落风尘
误落风尘 2020-11-22 10:50

I\'m trying to optimize this code to correctly follow the Ordered Dithering method.

def orderedDithering(img):
size = img.shape
new_image = np.zeros(size)

#8         


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