Opencv transform matrix. warpAffine takes a 2x3 transformation matrix while cv.