造价通

反馈
取消

热门搜词

造价通

取消 发送 反馈意见

方向可调滤波器Matlab代码

2022/07/16108 作者:佚名
导读:clc; close all; clear all; theta = [0:15:360]; inImg = imread('example.png'); dim = ndims(inImg); if(dim == 3) %Input is a color image inImg = rgb2gray(inImg); end I = inImg; tic for i = [1:length(the

clc;

close all;

clear all;

theta = [0:15:360];

inImg = imread('example.png');

dim = ndims(inImg);

if(dim == 3)

%Input is a color image

inImg = rgb2gray(inImg);

end

I = inImg;

tic

for i = [1:length(theta)]

J1(:,:,i) = steerGaussFilterOrder1(I,theta(i),3,true);

end

toc

tic

for i = [1:length(theta)]

J2(:,:,i) = steerGaussFilterOrder2(I,theta(i),3,true);

end

toc

*文章为作者独立观点,不代表造价通立场,除来源是“造价通”外。
关注微信公众号造价通(zjtcn_Largedata),获取建设行业第一手资讯

热门推荐

相关阅读