How to save Ycbcr numpy array to an image without changing its array points?

前端 未结 0 957
孤城傲影
孤城傲影 2021-01-15 08:07

I had an rgb image which I converted into Ycbcr array.

rgb = cv2.imread(image)
r,g,b = cv2.split(rgb)

def ycbcr(r, g, b): 
     y = .299*r + .587*g + .114*b
         


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