#include "graphics.h" #include "conio.h" #include "math.h" #include "stdio.h" #define E 100 #define N 640 void jianto(int …
图像卷积 源代码
汇集 图像卷积 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function y=conv(x,h) nx=length(x); nh=length(h); for n1=1:nx+nh-1; sum=0; for m1=1:nh; t=n1-m1; if…
%计算圆周卷积 N=20; N1=10; N2=18; n=0:1:N-1; n1=0:1:N1-1; n2=0:1:N2-1; x1=(0.8).^n1; x2=(0.6).^n2; y=circonvt(x1,x2,N); subpl…
n=0:1:31; h=0.8.^n; x=1.^n; y=conv(x,h); stem(y);title('卷积运算结果图')
n=0:1:31; h=0.8.^n; x=[1 1 1 1]; y=conv(x,h); stem(y);title('卷积运算结果图')
/*-- 调入了一幅图像:这是您新建的图像 --*/ /*-- 宽度x高度=16x16 --*/" 0x00,0x00,0x00,0x38,0x2C,0x32,0x02,0x00,0x38,0x2C,0x32,0x02,0x00,0x00,0x00…
abcd=f2; uiputfile(abcd,'图像另存为:');
%dm08401 %计算连续时间信号卷积积分并绘波形 t1=-1:0.01:3; f1=Heaviside(t1)-Heaviside(t1-2); %定义信号 t2=t1; f2=0.5*t2.*(Heaviside(…
%dm08401 %计算连续时间信号卷积积分并绘波形 t1=-1:0.01:3; f1=Heaviside(t1)-Heaviside(t1-2); %定义信号 t2=t1; f2=0.5*t2.*(Heaviside(…