seamplot.m
来自「用MATLAB编写的图像伸缩变化的源码。」· M 代码 · 共 17 行
M
17 行
function x=SeamPlot(x,SeamVector)
% SEAMPLOT takes as input an image and the SeamVector array and produces
% an image with the seam line superimposed upon the input image, x, for
% display purposes.
%
% Author: Danny Luong
% http://danluong.com
%
% Last updated: 12/20/07
value=1.5*max(x(:));
for i=1:size(SeamVector,1)
x(i,SeamVector(i))=value;
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?