I want to do a round robin image rotation as shown below.
The x vertical line
Mat outImg(inputImg.size(),inputImg.type()); inputImg(Rect(0, 0, shiftX, height)).copyTo(outImg(Rect(width-shiftX, 0, shiftX, height))); inputImg(Rect(shiftX, 0, width-shiftX, height)).copyTo(outImg(Rect(0, 0, width-shiftX, height)));