CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - mask E
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - mask E - List
[
2D Graphic
]
convolve2
DL : 0
CONVOLVE2可以用于任何CONV2使用,采取同样的参数并返回一个小的公差范围内同样结果。加速计算是通过使用面膜中的奇异值分解,表示为外产品总结一下。这些都可以有效地计算与行和列向量的卷积。 CONV2是用来从事这项运动。 可分面具是一个特殊情况,并受CONVOLVE2处理多达FILTER2一样。许多不属于其他口罩可分低等级(如Gabor函数口罩),并更有效地处理CONVOLVE2。 该功能也将计算出降秩逼近一个给定的面具如果需要的话,将使用此是否会加速计算。一个额外的参数允许在错误控制。 附加形状选项允许:(一)2 - D“的通知“执行卷积- 也就是说,输入数组被视为周期,而不是零包围 (二)一个“反思“的边界条件- 那就是,输入数组被视为体现了自身的副本包围。 看到 计算机和机器人视觉 第一卷,由R.M. Haralick和L.G.夏皮罗(Addison - Wesley出版1992年),第298-299 -CONVOLVE2 can be used wherever CONV2 is used, taking the same arguments and returning the same results to within a small tolerance. The computation is speeded up by using the singular value decomposition of the mask to express it as a sum of outer products. Each of these can be computed efficiently as convolution with a row and a column vector. CONV2 is used to carry this out. Separable masks are a particular case and are handled by CONVOLVE2 much as FILTER2 does. Many other masks which are not separable have low rank (e.g. Gabor function masks) and are handled more efficiently by CONVOLVE2. The function will also compute a reduced-rank approximation to a given mask if required and will use this if it will speed up the computation. An extra argument allows control over the error. Additional shape options allow: (a) 2-D "circular" convolution to be performed- that is, the input array is taken to be periodic rather than surrounded by zeros (b) a "reflection" boundary c
Date
: 2025-12-24
Size
: 6kb
User
:
namind
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.