Given a numpy array like the one below, can you convert it to a multi-channel cv mat, collapsing the data into a single column?
arr = [[x1, y1],
[x2, y2],
[x3, y3]]
arr = np.array(arr, dtype='f4')
mat = cv.fromarray(arr)
Done this way, the resulting mat has 3 rows and 2 single-channel columns (the mat is of type 32FC1). I need the resulting mat to have 3 rows and a single 2-channel column (specifically, to be of type 32FC2).