covn函数
covn函數(shù):
主要進(jìn)行N維上的卷積,就是【 m n k】三維矩陣上的卷積
N-dimensional convolution
Syntax
- C = convn(A,B) C = convn(A,B,'shape')
Description
C = convn(A,B)?computes the N-dimensional convolution of the arrays?A?and?B. The size of the result is?size(A)+size(B)-1.
C = convn(A,B,'shape')?returns a subsection of the N-dimensional convolution, as specified by the?shape?parameter:
對(duì)邊界處理的三種形式:
| 'full' | Returns the full N-dimensional convolution (default). |
| 'same' | Returns the central part of the result that is the same size as?A. |
| 'valid' | Returns only those parts of the convolution that can be computed without assuming that the array?A?is zero-padded. The size of the result is?
|
總結(jié)
- 上一篇: 图像多尺度对比增强算法
- 下一篇: flipdim函数