http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Calculates and returns the Euclidean dot product of two arrays.
src1 dot src2 = sumI(src1(I)*src2(I))
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public double DotProduct( CvArray<TDepth> src2 ) |
Visual Basic |
---|
Public Function DotProduct ( _ src2 As CvArray(Of TDepth) _ ) As Double |
Visual C++ |
---|
public: double DotProduct( CvArray<TDepth>^ src2 ) |
Parameters
- src2
- Type: Emgu.CV..::..CvArray<(Of <(<'TDepth>)>)>
The other Array to apply dot product with
Return Value
src1 dot src2
Remarks
In case of multiple channel arrays the results for all channels are accumulated. In particular, cvDotProduct(a,a), where a is a complex vector, will return ||a||^2. The function can process multi-dimensional arrays, row by row, layer by layer and so on.