I want to do a round robin image rotation as shown below.
The x vertical line from the start of image is removed and added to the end of image.
What is the best way to do this in OpenCV, GDI++ and WPF? I need a solution for each of these platform but they could be implemented differently.
I need to implement it in a function with the following signature(for opencv)
Mat CircShift(Mat inputImage, int PixelInXdirectionToShift);
I know how can I do this by manipulating pixels, but I am looking for a solution that do this very fast when pixel manipulation is not that fast.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…