How to merge 3 matrices into 1 in opencv?

后端 未结 3 2123
离开以前
离开以前 2021-01-06 18:33

I have three matrices, each of size 4x1. I want to copy all of these matrices to another matrix of size 4x3 and call it R. Is there a

3条回答
  •  时光取名叫无心
    2021-01-06 19:15

    For those using OpenCv in Python, if you have arrays A, B, and C, and want array D that is horizontal concatenation of the others:

    D = cv2.hconcat((A, B, C))
    

    There is also a vconcat method.

提交回复
热议问题