⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edgemirror.m

📁 一本学习图像的好书 一本实践的好书 一本入门的好书
💻 M
字号:
function y = EdgeMirror(x, width)
% Edge mirroring function attach the mirror edge to the input image x.
% [usage]
% y = EdgeMirror(x, width)
%
% [parameter]
% x     : input image
% width : mirroring width [x y]
%
% [history]
% Jan 20, 2005 : created by hiro

y = cat(2, x(:, width(2)+1:-1:2), x, x(: ,end-1:-1:end-width(2)));
y = cat(1, y(width(1)+1:-1:2, :), y, y(end-1:-1:end-width(1), :));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -