matlab中卷积运算conv2的三种形式
来源:互联网 发布:手机淘宝能分期付款吗 编辑:程序博客网 时间:2024/06/05 06:02
matlab中的conv2是用于对二维数据进行卷积运算,有三个参数可供选择,下面是help content of conv2
conv2 Two dimensional convolution.
C = conv2(A, B) performs the 2-D convolution of matrices A and B.If [ma,na] = size(A), [mb,nb] = size(B), and [mc,nc] = size(C), then
mc = max([ma+mb-1,ma,mb]) and nc = max([na+nb-1,na,nb]).
C = conv2(H1, H2, A) first convolves each column of A with the vector
H1 and then convolves each row of the result with the vector H2. If
n1 = length(H1), n2 = length(H2), and [mc,nc] = size(C) then
mc = max([ma+n1-1,ma,n1]) and nc = max([na+n2-1,na,n2]).
conv2(H1, H2, A) is equivalent to conv2(H1(:)*H2(:).', A) up to
round-off.
C = conv2(..., SHAPE) returns a subsection of the 2-D
convolution with size specified by SHAPE:
'full' - (default) returns the full 2-D convolution,
'same' - returns the central part of the convolution
that is the same size as A.
'valid' - returns only those parts of the convolution
that are computed without the zero-padded edges.
size(C) = max([ma-max(0,mb-1),na-max(0,nb-1)],0).
关于full, same以及valid三种参数的区别,如下面的实例所示:
full
same
valid
阅读全文
0 0
- matlab中卷积运算conv2的三种形式
- matlab中卷积运算conv2的三种形式
- matlab中卷积运算conv2的三种形式
- matlab 中 卷积运算conv2
- MATLAB中conv2卷积使用方法
- MATLAB conv2卷积的实现
- MATLAB conv2卷积的实现
- MATLAB卷积运算(conv、conv2、convn)
- matlab 二维卷积conv2的等效代码
- 图像处理中任意核卷积(matlab中conv2函数)的快速实现。
- Matlab 几种卷积的实现与比较(conv与filter,conv2与filter2,imfilter)
- Matlab 几种卷积的实现与比较(conv与filter,conv2与filter2)
- Matlab 几种卷积的实现与比较(conv与filter,conv2与filter2)
- Matlab 几种卷积的实现与比较(conv与filter,conv2与filter2)
- MATLAB中conv2的详细用法
- matlab中conv2 函数的用法
- 深度学习FPGA实现基础知识16(图像处理中任意核卷积(matlab中conv2函数)的快速实现)
- matlab中conv2函数
- my.cnf 简单的配置文件
- 前端框架
- Java中关于try、catch、finally的总结
- 在ROS中实现PING线程
- java读取txt文件,使用正则表达式获取信息
- matlab中卷积运算conv2的三种形式
- 如何通俗解释Docker是什么?
- Shiro-密码的MD5加密
- cfB. Beautiful Divisors
- oj第六周作业题解
- android获取网页数据的几种方式
- css字体属性
- 利用哈希表 复杂数组去重
- 正则表达式限制input输入内容为:小数点前不超过5位且小数点后不超过4位的数值