目标跟踪中循环采样的问题,写了个小demo可视化
clc;
%clear;
image = imread('2007_001627.jpg');
%移位前
figure;
imshow(image);
%移位中
result = circshift(image,160,2)
imwrite(result,'160.jpg');
%移位后
figure;
imshow(result);
pause(10);
close figure 1;
close figure 2;
参考https://blog.csdn.net/xuexiopencv/article/details/51202794