matlab中卷积运算conv2的三种形式
来源:互联网 发布:淘宝热点 编辑:程序博客网 时间:2024/06/05 21:56
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
5 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函数
- 使用 Spring Data JPA 简化 JPA 开发
- MOS场效应管的制作流程。
- 数据科学的完整学习路径—Python版
- 【整理】双模双待、双卡双待、双模双待双通、双频手机
- Android Fragment真正de完全解析
- matlab中卷积运算conv2的三种形式
- [leetcode] Remove Nth Node From End of List
- edittext设置inputtype="textPassword"以后,英文字体改变的解决方法
- HotSpot SA #1:JStack
- 通达OA 小飞鱼开发培训课程第五讲课件 OA源码及函数公共组件(图文)
- 【GLSL教程】(三)在OpenGL中向shader传递信息
- 2015-01-29 没有爱没有恨,也就没有了痛
- leetcode.12----------Integer to Roman
- Codeforces Round #288 (Div. 2)C. Anya and Ghosts