zeroboundary.m
来自「BOOSTING DEMO, A VERY USEFUL DEMO FOR AD」· M 代码 · 共 12 行
M
12 行
function [im]=zeroBoundary(im,num)
% removes the border of the image and replaces it by zeros.
%
if ~exist('num')
num=1;
end
im(:,1:num,:)=0;im(1:num,:)=0;
im(:,end-num+1:end,:)=0;im(end-num+1:end,:,:)=0;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?